96f013483bfe1e4018431f34f946ac999890ea51 kent Tue May 7 09:11:22 2013 -0700 Moving parallelFetch to a new module. diff --git src/inc/net.h src/inc/net.h index d40c147..b3edc00 100644 --- src/inc/net.h +++ src/inc/net.h @@ -244,23 +244,19 @@ * If for some reason you want to detect whether the forwarding has occurred you could * call this as: * char *newUrl = NULL; * int newSd = 0; * netSkipHttpHeaderLine(sd, url, &newSd, &newUrl); * if (newUrl != NULL) * // Update sd with newSd, free url if appropriate and replace it with newUrl, etc. * // free newUrl when finished. * This routine handles up to 5 steps of redirection. * The logic to this routine is also complicated a little to make it work in a pipe, which means we * can't attach a lineFile since filling the lineFile buffer reads in more than just the http header. */ boolean netGetFtpInfo(char *url, long long *retSize, time_t *retTime); /* Return date in UTC and size of ftp url file */ - -boolean parallelFetch(char *url, char *outPath, int numConnections, int numRetries, boolean newer, boolean progress); -/* Open multiple parallel connections to URL to speed downloading */ - boolean hasProtocol(char *urlOrPath); /* Return TRUE if it looks like it has http://, ftp:// etc. */ #endif /* NET_H */