diff options
author | Daniel Lowrey <rdlowrey@php.net> | 2014-08-04 12:41:51 -0400 |
---|---|---|
committer | Daniel Lowrey <rdlowrey@php.net> | 2014-08-05 23:13:04 -0400 |
commit | a51bf0cadf7862d10b2cc19cae2c991d24d670b1 (patch) | |
tree | 249332785260201b944727d852f0bb84315acc9d /ext | |
parent | 29eb0ea68605e81822e34d5a95443f2c176b2c73 (diff) | |
download | php-git-a51bf0cadf7862d10b2cc19cae2c991d24d670b1.tar.gz |
Add SO_REUSEPORT + SO_BROADCAST support via socket stream context option
Diffstat (limited to 'ext')
-rw-r--r-- | ext/ftp/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c index 558463b845..d05f0eec71 100644 --- a/ext/ftp/ftp.c +++ b/ext/ftp/ftp.c @@ -136,7 +136,7 @@ ftp_open(const char *host, short port, long timeout_sec TSRMLS_DC) ftp->fd = php_network_connect_socket_to_host(host, (unsigned short) (port ? port : 21), SOCK_STREAM, - 0, &tv, NULL, NULL, NULL, 0 TSRMLS_CC); + 0, &tv, NULL, NULL, NULL, 0, STREAM_SOCKOP_NONE TSRMLS_CC); if (ftp->fd == -1) { goto bail; } |