Skip to content

Commit 1dc06cf

Browse files
committed
Increase connection timeout to 5 minutes (Issue #541)
1 parent b242f00 commit 1dc06cf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ v1.9.21 (YYYY-MM-DD)
66

77
- Updated HTTP/HTTPS connection error reporting to include the reason.
88
- Updated markdown parser.
9+
- Updated the HTTP/HTTPS connection timeout to 5 minutes (Issue #541)
910
- Fixed a bug in the new PDF link code (Issue #536)
1011
- Fixed a bug in the number-up code (Issue #539)
1112
- Fixed a regression in leading whitespace handling (Issue #540)

htmldoc/file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ file_find_check(const char *filename) /* I - File or URL */
498498

499499
http_encryption_t encryption = !strcmp(connscheme, "http") ? HTTP_ENCRYPTION_IF_REQUESTED : HTTP_ENCRYPTION_ALWAYS;
500500

501-
if ((http = httpConnect2(connhost, connport, NULL, AF_UNSPEC, encryption, 1, 30000, NULL)) == NULL)
501+
if ((http = httpConnect2(connhost, connport, NULL, AF_UNSPEC, encryption, 1, 300000, NULL)) == NULL)
502502
{
503503
progress_hide();
504504
progress_error(HD_ERROR_NETWORK_ERROR, "Unable to connect to %s:%d - %s", connhost, connport, cupsGetErrorString());

0 commit comments

Comments
 (0)