Permalink
Browse files

Fixed HTTP proxy issue with squid

  • Loading branch information...
1 parent ac1264b commit b7d15a08ac11f1dca78a3b20e78cdc4e3f66d709 @meebey meebey committed Aug 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/StarkSoftProxy/HttpProxyClient.cs
@@ -53,7 +53,7 @@ public class HttpProxyClient : IProxyClient
private TcpClient _tcpClient;
private const int HTTP_PROXY_DEFAULT_PORT = 8080;
- private const string HTTP_PROXY_CONNECT_CMD = "CONNECT {0}:{1} HTTP/1.0 \r\nHOST {0}:{1}\r\n\r\n";
+ private const string HTTP_PROXY_CONNECT_CMD = "CONNECT {0}:{1} HTTP/1.0\r\nHOST {0}:{1}\r\n\r\n";
private const int WAIT_FOR_DATA_INTERVAL = 50; // 50 ms
private const int WAIT_FOR_DATA_TIMEOUT = 15000; // 15 seconds
private const string PROXY_NAME = "HTTP";

0 comments on commit b7d15a0

Please sign in to comment.