(libT) #1480: RPC Server Deflated response

This commit is contained in:
Charles Kerr 2008-11-19 16:12:00 +00:00
parent 65ec586835
commit ed95969380
1 changed files with 2 additions and 0 deletions

View File

@ -271,9 +271,11 @@ add_response( struct evhttp_request * req,
evbuffer_drain( out, 2 );
}
#if 0
tr_ninf( MY_NAME, _( "Deflated response from %zu bytes to %zu" ),
content_len,
EVBUFFER_LENGTH( out ) );
#endif
evhttp_add_header( req->output_headers,
"Content-Encoding", "deflate" );
}