mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
![]() First we need to properly clear the `inbuf`, what is an amendment to commit d2881adcbc[1]. Then we need to report `php_pollfd_for_ms()` failures right away; just setting `errno` does not really help, since at least in some cases it would have been overwritten before we actually could check it. We use `php_socket_strerror()` to get a proper error message, and define `ETIMEDOUT` to the proper value on Windows; otherwise we catch the definition in errno.h, which is not compatible with WinSock. The proper solution for this issue would likely be to include something like ext/sockets/windows_common.h. Finally, we ensure that we only report warnings using `inbuf`, if it is not empty. [1] <http://git.php.net/?p=php-src.git;a=commit;h=d2881adcbc9be60de7e7d45a3316b0e11b7eb1e8>. Closes GH-6718. |
||
---|---|---|
.. | ||
001.phpt | ||
002.phpt | ||
003.phpt | ||
004.phpt | ||
005.phpt | ||
006.phpt | ||
007.phpt | ||
bug7216-2.phpt | ||
bug7216.phpt | ||
bug27809.phpt | ||
bug37799.phpt | ||
bug39458-2.phpt | ||
bug39458.phpt | ||
bug39583-2.phpt | ||
bug39583.phpt | ||
bug79100.phpt | ||
bug80901.phpt | ||
cert.pem | ||
CONFLICTS | ||
filesize_large.phpt | ||
ftp_alloc_basic1.phpt | ||
ftp_alloc_basic2.phpt | ||
ftp_append.phpt | ||
ftp_chmod_basic.phpt | ||
ftp_delete.phpt | ||
ftp_exec_basic.phpt | ||
ftp_fget_basic.phpt | ||
ftp_fget_basic1.phpt | ||
ftp_fget_basic2.phpt | ||
ftp_fget_basic3.phpt | ||
ftp_fput.phpt | ||
ftp_get_basic.phpt | ||
ftp_get_option.phpt | ||
ftp_mdtm_basic.phpt | ||
ftp_mlsd.phpt | ||
ftp_mlsd_empty_directory.phpt | ||
ftp_mlsd_missing_directory.phpt | ||
ftp_nb_continue.phpt | ||
ftp_nb_fget_basic1.phpt | ||
ftp_nb_fget_basic2.phpt | ||
ftp_nb_fget_basic3.phpt | ||
ftp_nb_fput.phpt | ||
ftp_nb_get_large.phpt | ||
ftp_nb_put.phpt | ||
ftp_pasv.phpt | ||
ftp_rawlist_basic1.phpt | ||
ftp_rawlist_basic2.phpt | ||
ftp_rename_basic1.phpt | ||
ftp_rmdir_basic.phpt | ||
ftp_set_option.phpt | ||
ftp_set_option_errors.phpt | ||
ftp_site_basic.phpt | ||
ftp_ssl_connect_error.phpt | ||
server.inc | ||
skipif.inc |