src/inc/net.h 1.38
1.38 2010/04/14 07:42:13 galt
Adding support for http(s) proxy
Index: src/inc/net.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/net.h,v
retrieving revision 1.37
retrieving revision 1.38
diff -b -B -U 4 -r1.37 -r1.38
--- src/inc/net.h 10 Mar 2010 23:41:17 -0000 1.37
+++ src/inc/net.h 14 Apr 2010 07:42:13 -0000 1.38
@@ -164,15 +164,15 @@
/* Return a file handle that will read the url. optionalHeader
* may by NULL or may contain cookies and other info. */
int netHttpConnect(char *url, char *method, char *protocol, char *agent, char *optionalHeader);
-/* Parse URL, connect to associated server on port,
- * and send most of the request to the server. If
- * specified in the url send user name and password
- * too. Typically the "method" will be "GET" or "POST"
+/* Parse URL, connect to associated server on port, and send most of
+ * the request to the server. If specified in the url send user name
+ * and password too. Typically the "method" will be "GET" or "POST"
* and the agent will be the name of your program or
- * library. optionalHeader may be NULL or contain
- * additional header lines such as cookie info.
+ * library. optionalHeader may be NULL or contain additional header
+ * lines such as cookie info.
+ * Proxy support via hg.conf httpProxy or env var http_proxy
* Return data socket, or -1 if error.*/
int netHttpGetMultiple(char *url, struct slName *queries, void *userData,
void (*responseCB)(void *userData, char *req,