projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add TLS/SSL interception support
[privoxy.git]
/
parsers.c
diff --git
a/parsers.c
b/parsers.c
index
f313f4f
..
f56345f
100644
(file)
--- 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.
*
*
* 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.
*
*********************************************************************/
* 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;
{
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;
char *p;
char *host;
- assert(!http->ssl);
-
host = get_header_value(headers, "Host:");
if (NULL == host)
host = get_header_value(headers, "Host:");
if (NULL == host)