1eebf72e7ad8714a1e1747273feecad599bea8ec max Tue May 9 06:55:25 2023 -0700 improving error message when server cannot be connected to. refs #15324 diff --git src/inc/net.h src/inc/net.h index 86a6699..2e050b9 100644 --- src/inc/net.h +++ src/inc/net.h @@ -264,17 +264,19 @@ * 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 hasProtocol(char *urlOrPath); /* Return TRUE if it looks like it has http://, ftp:// etc. */ +void netSetTimeoutErrorMsg(char *msg); +/* set the error message text that is displayed after a timeout error */ #endif /* NET_H */