From ca8037e28d09ed96448509316a935eb130e6d3db Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 9 Jun 2013 22:17:45 +0100 Subject: Add better handling of HTTP/1.1 and/or keepalive connections. This should let me close #641, and more importantly, prepares the Twitter module for an upcoming API change. https://dev.twitter.com/blog/deprecating-http-1.0-streaming-api --- lib/proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/proxy.c') diff --git a/lib/proxy.c b/lib/proxy.c index 3e5c9d49..b6b02d72 100644 --- a/lib/proxy.c +++ b/lib/proxy.c @@ -157,7 +157,7 @@ static int proxy_connect_none(const char *host, unsigned short port_, struct PHB event_debug("bind( %d, \"%s\" ) failure\n", fd, global.conf->iface_out); } - event_debug("proxy_connect_none( \"%s\", %d ) = %d\n", host, port, fd); + event_debug("proxy_connect_none( \"%s\", %d ) = %d\n", host, port_, fd); if (connect(fd, phb->gai_cur->ai_addr, phb->gai_cur->ai_addrlen) < 0 && !sockerr_again()) { event_debug( "connect failed: %s\n", strerror(errno)); -- cgit v1.2.3