mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
This commit was generated by cvs2svn to compensate for changes in r167961,
which included commits to RCS files with non-trunk default branches.
This commit is contained in:
commit
c262af8430
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167962
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: socks.c,v 1.16 2006/01/25 23:21:37 djm Exp $ */
|
||||
/* $OpenBSD: socks.c,v 1.17 2006/09/25 04:51:20 ray Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1999 Niklas Hallqvist. All rights reserved.
|
||||
@ -307,7 +307,8 @@ socks_connect(const char *host, const char *port,
|
||||
}
|
||||
close(proxyfd);
|
||||
goto again;
|
||||
} else if (strncmp(buf, "HTTP/1.0 200 ", 12) != 0)
|
||||
} else if (strncmp(buf, "HTTP/1.0 200 ", 12) != 0 &&
|
||||
strncmp(buf, "HTTP/1.1 200 ", 12) != 0)
|
||||
errx(1, "Proxy error: \"%s\"", buf);
|
||||
|
||||
/* Headers continue until we hit an empty line */
|
||||
|
Loading…
Reference in New Issue
Block a user