X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=parsers.c;h=f56345fe0f32df4d4d9362b959a57e09397c87cf;hp=f313f4f8158d12010c9f933ffd2d701687e5ea7b;hb=2111876638;hpb=f105bf576b458a28a3919b0416fb6234e78ee9ef diff --git a/parsers.c b/parsers.c index f313f4f8..f56345fe 100644 --- a/parsers.c +++ b/parsers.c @@ -249,7 +249,7 @@ static const add_header_func_ptr add_server_headers[] = { /********************************************************************* * - * Function : flush_socket + * Function : flush_iob * * Description : Write any pending "buffered" content. * @@ -266,7 +266,7 @@ static const add_header_func_ptr add_server_headers[] = { * file, the results are not portable. * *********************************************************************/ -long flush_socket(jb_socket fd, struct iob *iob, unsigned int delay) +long flush_iob(jb_socket fd, struct iob *iob, unsigned int delay) { long len = iob->eod - iob->cur; @@ -4429,8 +4429,6 @@ jb_err get_destination_from_headers(const struct list *headers, struct http_requ char *p; char *host; - assert(!http->ssl); - host = get_header_value(headers, "Host:"); if (NULL == host)