dlundquist / sniproxy

Proxies incoming HTTP and TLS connections based on the hostname contained in the initial request of the TCP session.
BSD 2-Clause "Simplified" License
2.56k stars 397 forks source link

Proxy Has Gone Very Slow #121

Closed alex4652 closed 10 years ago

alex4652 commented 10 years ago

Hi. I've been using it for months now and everything working great until a week or so. Every domain that goes through the proxy loads very slow or doesn't load at all. I haven't changed anything, it just started just like that all of the sudden. Any suggestions?.

Thanks.

dlundquist commented 10 years ago

@alex4652 could you grab the output of strace -p $SNIPROXY_PID for several requests, netstat -tpn and your config, and I'll take a look. This will contain IPs and partial requests so feel free to email me directly.

dlundquist commented 10 years ago

For postarity's sake: the issue looked like a combination of an older version of sniproxy (before nonblocking connect), a wildcard backend and hostname lookup with both A and AAAA records.