Forgot one \r\n (only in debug-info, not in used code)

git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@248 bc163920-b10d-0410-b2c5-a5491ca2ceef
This commit is contained in:
Mark Janssen 2008-09-26 14:46:24 +00:00
parent 40a56608bd
commit 8953ac383c

2
http.c
View file

@ -109,7 +109,7 @@ void proxy_protocol(PTSTREAM *pts) {
} else {
if( args_info.verbose_flag )
message( "\nTunneling to %s (destination)\n", args_info.dest_arg );
sprintf( buf, "CONNECT %s HTTP/1.1\r\nHost: %s", args_info.dest_arg, args_info.dest_arg );
sprintf( buf, "CONNECT %s HTTP/1.1\r\nHost: %s\r\n", args_info.dest_arg, args_info.dest_arg );
}
if ( args_info.user_given && args_info.pass_given ) {