summaryrefslogtreecommitdiff
path: root/main/php_network.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-5.6'Stanislav Malyshev2015-01-311-0/+4
|\ | | | | | | | | | | | | | | | | | | * PHP-5.6: Use better constant since MAXHOSTNAMELEN may mean shorter name use right sizeof for memset Conflicts: ext/sockets/sockaddr_conv.c ext/standard/dns.c
| * Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2015-01-311-0/+4
| |\ | | | | | | | | | | | | | | | * PHP-5.4: Use better constant since MAXHOSTNAMELEN may mean shorter name use right sizeof for memset
| | * Use better constant since MAXHOSTNAMELEN may mean shorter nameStanislav Malyshev2015-01-311-0/+4
| | |
| | * Bump yearXinchen Hui2014-01-031-1/+1
| | |
| | * Happy New YearXinchen Hui2013-01-011-1/+1
| | |
| | * - Year++Felipe Pena2012-01-011-1/+1
| | |
| | * - Forgot to commit these.Moriyoshi Koizumi2011-06-201-0/+5
| | |
| * | Bump yearXinchen Hui2015-01-151-1/+1
| | |
| * | Bump yearXinchen Hui2014-01-031-1/+1
| | |
* | | bump yearXinchen Hui2015-01-151-1/+1
| | |
* | | trailing whitespace removalStanislav Malyshev2015-01-101-3/+3
| | |
* | | second shot on removing TSRMLS_*Anatol Belski2014-12-141-6/+6
| | |
* | | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-9/+9
| | |
* | | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| | |
* | | master renames phase 1Anatol Belski2014-08-251-1/+1
| | |
* | | first shot on merging the core fro the int64 branchAnatol Belski2014-08-161-1/+1
| | |
* | | cleanup (use zend_string* instead of char*)Dmitry Stogov2014-08-131-9/+10
| | |
* | | Add SO_REUSEPORT + SO_BROADCAST support via socket stream context optionDaniel Lowrey2014-08-051-2/+7
| | |
* | | Bump yearXinchen Hui2014-01-031-1/+1
|/ /
* | Fix non-Windows buildGustavo Lopes2013-02-021-0/+2
| |
* | Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | - Forgot to commit these.Moriyoshi Koizumi2011-06-201-0/+5
|/
* - Year++Felipe Pena2011-01-011-1/+1
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFT: VC10 build supportKalle Sommer Nielsen2009-12-031-4/+10
|
* MFH:Felipe Pena2009-01-071-0/+4
| | | | | | | - Added check for EWOULDBLOCK - Using EWOULDBLOCK instead of EAGAIN by portability issues (Related to #46917)
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* - MFH:Pierre Joye2008-08-231-14/+1
| | | | | | - drop bindlib usage on windows - inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* Fix build on MSVC 2008 - channeling WezElizabeth Marie Smith2007-10-091-0/+2
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* - Fixed cacheing bug in PHP_SOCKADDR_SA_LEN macrofoobar2005-07-141-1/+1
| | | | | | - Removed duplicate sa_len check from configure.in - Unified the sockaddr tests into PHP_SOCKADDR_CHECKS macro
* Added bindto socket context option.Ilia Alshanetsky2005-06-141-1/+1
|
* Fix for Bug #24189: possibly unsafe select(2) usage.Wez Furlong2004-09-171-0/+98
| | | | | | | | | | | | | | | | | | | | | | | | | We avoid the problem by using poll(2). On systems without poll(2) (older bsd-ish systems, and win32), we emulate poll(2) using select(2) and check for valid descriptors before attempting to access them via the descriptor sets. If an out-of-range descriptor is detected, an E_WARNING is raised suggesting that PHP should be recompiled with a larger FD_SETSIZE (and also with a suggested value). Most uses of select(2) in the source are to poll a single descriptor, so a couple of handy wrapper functions have been added to make this easier. A configure option --enable-fd-setsize has been added to both the unix and win32 builds; on unix we default to 16384 and on windows we default to 256. Windows FD_SETSIZE imposes a limit on the maximum number of descriptors that can be select()ed at once, whereas the unix FD_SETSIZE limit is based on the highest numbered descriptor; 256 should be plenty for PHP scripts under windows (the default OS setting is 64). The win32 specific parts are untested; will do that now.
* wrap all PHPAPI prototypes into BEGIN_EXTERN_C/END_EXTERN_C blocksHartmut Holzgraefe2004-02-201-1/+6
| | | | | (else they won't be usable from C++ extensions)
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-2/+2
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* Counteract brain-death in Apache headersWez Furlong2003-12-181-0/+3
| | | | | | (they #define strtoul to something that will break compilation, and it successfully breaks the win32 IPv6 headers)
* fix ipv6 stuff under vc6Wez Furlong2003-12-061-5/+5
|
* Detect and enable IPv6 support under win32.Wez Furlong2003-12-061-1/+6
| | | | | | The ws2tcpip.h header links to IPv6 functions dynamically and the generated binary will run on win98 and later.
* Export these so that ftp extension can be build as shared ext.Wez Furlong2003-12-021-2/+2
|
* Add stream_socket_sendto and stream_socket_recvfrom which work very muchWez Furlong2003-11-291-0/+12
| | | | | like sendto() and recvfrom() syscalls.
* Win32 build fixes for opensslEdin Kadribasic2003-06-151-1/+1
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* Tidy up stupid signed/unsigned issues with win32 by introducing a ↵Wez Furlong2003-02-281-8/+15
| | | | php_socket_t typedef.
* New user-space functions:Wez Furlong2003-02-281-5/+27
| | | | | | | | | | | . stream_socket_client() - similar to fsockopen(), but more powerful. . stream_socket_server() - Creates a server socket. . stream_socket_accept() - Accept a client connection. . stream_socket_get_name() - Get local or remote name of socket. Tidy up some leaks and debug printfs. Move more streams functions into streamsfuncs.c and streamsfuncs.h.
* - No need to include the ssl headers elsewhere but in ext/opensslfoobar2003-02-281-4/+0
| | | | | # ext/ftp doesn't use streams yet so it needs to include them.
* Another big commit (tm).Wez Furlong2003-02-271-17/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Main Changes: - Implement a socket transport layer for use by all code that needs to open some kind of "special" socket for network or IPC. - Extensions can register (and override) transports. - Implement ftruncate() on streams via the ioctl-alike option interface. - Implement mmap() on streams via the ioctl-alike option interface. - Implement generic crypto API via the ioctl-alike option interface. (currently only supports OpenSSL, but could support other SSL toolkits, and other crypto transport protocols). Impact: - tcp sockets can be overloaded by the openssl capable sockets at runtime, removing the link-time requirement for ssl:// and https:// sockets and streams. - checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since there are now a range of possible socket-type streams. Working towards: - socket servers using the new transport layer - mmap support under win32 - Cleaner code. # I will be updating the win32 build to add the new files shortly # after this commit.