b044d899b57220343d1d8f666d80507f66dd4df1
braney
  Wed Aug 12 12:56:22 2015 -0700
increase some buffers in the net connection layer to allow user names
and passwords longer than 128 characters long (no redmine)

diff --git src/inc/net.h src/inc/net.h
index b00dea4..0daa0a5 100644
--- src/inc/net.h
+++ src/inc/net.h
@@ -104,35 +104,35 @@
 
 boolean netPipeIsBroken();
 /* Return TRUE if pipe is broken */
 
 void  netClearPipeFlag();
 /* Clear broken pipe flag. */
 
 void netParseSubnet(char *in, unsigned char out[4]);
 /* Parse subnet, which is a prefix of a normal dotted quad form.
  * Out will contain 255's for the don't care bits. */
 
 struct netParsedUrl
 /* A parsed URL. */
    {
    char protocol[16];	/* Protocol - http or ftp, etc. */
-   char user[128];	/* User name (optional)  */
-   char password[128];	/* Password  (optional)  */
-   char host[128];	/* Name of host computer - www.yahoo.com, etc. */
+   char user[2048];	/* User name (optional)  */
+   char password[2048];	/* Password  (optional)  */
+   char host[2048];	/* Name of host computer - www.yahoo.com, etc. */
    char port[16];       /* Port, usually 80 or 8080. */
-   char file[1024];	/* Remote file name/query string, starts with '/' */
+   char file[4096];	/* Remote file name/query string, starts with '/' */
    ssize_t byteRangeStart; /* Start of byte range, use -1 for none */
    ssize_t byteRangeEnd;   /* End of byte range use -1 for none */
    };
 
 void netParseUrl(char *url, struct netParsedUrl *parsed);
 /* Parse a URL into components.   A full URL is made up as so:
  *   http://user:password@hostName:port/file;byterange=0-499
  * User and password may be cgi-encoded.
  * This is set up so that the http:// and the port are optional. 
  */
 
 char *urlFromNetParsedUrl(struct netParsedUrl *npu);
 /* Build URL from netParsedUrl structure */
 
 int netUrlOpen(char *url);