search for: buffer_hostpart

Displaying 2 results from an estimated 2 matches for "buffer_hostpart".

2003 May 14
0
Basic HTTP Proxy Authentication: patch update
...port); + } + if (write(fd, buffer, strlen(buffer)) != (int) strlen(buffer)) { rprintf(FERROR, "failed to write to proxy: %s\n", strerror(errno)); @@ -168,6 +207,9 @@ int proxied = 0; char buffer[1024]; char *cp; + char *proxy_user = NULL; + char *proxy_pass = NULL; + char *buffer_hostpart; /* if we have a RSYNC_PROXY env variable then redirect our * connetcion via a web proxy at the given address. The format @@ -177,7 +219,35 @@ if (proxied) { strlcpy(buffer, h, sizeof(buffer)); - cp = strchr(buffer, ':'); + + /* authentication information present? */ + cp =...
2002 Apr 04
1
[patch] Basic HTTP Proxy Authentication
...port); + } + if (write(fd, buffer, strlen(buffer)) != (int) strlen(buffer)) { rprintf(FERROR, "failed to write to proxy: %s\n", strerror(errno)); @@ -166,6 +203,9 @@ int proxied = 0; char buffer[1024]; char *cp; + char *proxy_user = NULL; + char *proxy_pass = NULL; + char *buffer_hostpart; /* if we have a RSYNC_PROXY env variable then redirect our * connetcion via a web proxy at the given address. The format @@ -175,7 +215,34 @@ if (proxied) { strlcpy(buffer, h, sizeof(buffer)); - cp = strchr(buffer, ':'); + + /* authentication information present? */ + cp =...