summaryrefslogtreecommitdiff
path: root/ext/exif
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-12-22 13:55:45 +0000
committerWez Furlong <wez@php.net>2002-12-22 13:55:45 +0000
commit90c478664a6cf4adec9498ec7ec4850296b25cc5 (patch)
treee78d089a01560b67f8b4edfb62b4929f25315b5d /ext/exif
parente03bccb1adc83e0eaec7a1aaa88b37861c70ef95 (diff)
downloadphp-git-90c478664a6cf4adec9498ec7ec4850296b25cc5.tar.gz
A Simple fix for Bug #12360 (fsockopen timeout doesn't work).
Analysis: On systems with HAVE_GETADDRINFO and IPV6 support, php_hostconnect would attempt to connect to each possible address that matched the requested IP. If the remote host:port combination are dropping packets this would cause the first connection to timeout (after waiting for the full timeout duration). PHP would then attempt the second address and wait the full duration again. Solution: If the first connection attempt times out, abort the connection loop.
Diffstat (limited to 'ext/exif')
0 files changed, 0 insertions, 0 deletions