summaryrefslogtreecommitdiff
path: root/ext/sockets/sockets.c
Commit message (Collapse)AuthorAgeFilesLines
* Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)Dmitry Stogov2007-09-271-1/+1
|
* MFHAntony Dovgal2007-09-261-1/+1
|
* MFH:- Added missing MSG_EOR and MSG_EOF constantsJani Taskinen2007-07-241-0/+12
|
* MFH:- Fixed bug #21197 (socket_read() outputs error with PHP_NORMAL_READ)Jani Taskinen2007-07-221-33/+24
|
* MFH: ws fix + sync U stuff for patches to MFB easierJani Taskinen2007-07-221-133/+131
|
* MFH: syncJani Taskinen2007-07-221-35/+69
|
* Remove pointless RINITIlia Alshanetsky2007-05-191-8/+1
|
* MFH: zerofill socket structsAntony Dovgal2007-02-251-0/+6
|
* Add missing ifdefs for shutdown()Hannes Magnusson2007-01-101-0/+4
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* MFHAntony Dovgal2006-12-281-1/+2
|
* Last set of zend_hash_init() optimizationsIlia Alshanetsky2006-10-031-1/+1
|
* last portion of z/Z fixesAntony Dovgal2006-08-311-8/+8
|
* improve checks and fix #38251Antony Dovgal2006-07-301-2/+6
|
* Added automatic module globals managementDmitry Stogov2006-06-151-4/+7
|
* - revert last commit, something else went wrongPierre Joye2006-04-071-1/+0
|
* - fix leak when an error occured in socket_read, free tmpbufPierre Joye2006-04-071-0/+1
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* MFH: nuke php3 legacyfoobar2005-12-061-1/+1
|
* Fixed bug #35062 (socket_read() produces warnings on non blocking sockets).Ilia Alshanetsky2005-12-041-1/+13
|
* MFH: yet another compile warningAntony Dovgal2005-12-031-1/+6
|
* fix #35490 (socket_sendto() unable to handle IPv6 addresses)Antony Dovgal2005-12-011-1/+1
|
* - MFB44: #34851 (SO_RECVTIMEO and SO_SNDTIMEO socket options expect integerMichael Wallner2005-11-031-2/+20
| | | | | parameter on Windows)
* NetWare LibC don't have socketpair function. So enabling socket_create_pair ↵Anantha Kesari H Y2005-09-231-0/+4
| | | | | | | functionality only if socketpair is available in the host LibC. --Kamesh
* - Bumber up yearfoobar2005-08-031-1/+1
|
* fix #33019 (socket errors cause memory leaks in php_strerror())Antony Dovgal2005-05-121-0/+9
| | | | | patch by jwozniak23 at poczta dot onet dot pl
* - More sock->error resetsfoobar2005-02-141-0/+4
|
* - Removed duplicate error + reset error in new socketsfoobar2005-02-141-1/+4
|
* Remove unused set_h_errnofoobar2005-02-121-1/+0
|
* Fix for Bug #24189: possibly unsafe select(2) usage.Wez Furlong2004-09-171-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* MFB: Missing length limit parameter.Sara Golemon2004-06-071-1/+1
|
* - Fixed bug #28523 (Typo in ext/sockets/sockets.c)Derick Rethans2004-05-261-1/+1
|
* No length parameter -> estrdup()Edin Kadribasic2004-05-181-1/+1
|
* Do not allocate error buffer at the start of every request.Ilia Alshanetsky2004-05-161-6/+7
|
* - improve error messageJan Lehnardt2004-03-141-1/+1
|
* Fix a typo, dating back from 1.145.Melvyn Sopacua2004-03-141-1/+1
|
* Fixed bug #21760 (Use of uninitialized pointer inside php_read()).Ilia Alshanetsky2004-02-251-0/+16
| | | | | | Fixed 3 possible crashes due to integer overflow or invalid user input inside the sockets extension.
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* nuke unused codefoobar2003-12-161-11/+0
|
* Detect and enable IPv6 support under win32.Wez Furlong2003-12-061-17/+17
| | | | | | The ws2tcpip.h header links to IPv6 functions dynamically and the generated binary will run on win98 and later.
* Revert accidential commitMarcus Boerger2003-10-241-0/+11
|
* Zend/ZEND_CHANGESMarcus Boerger2003-10-241-11/+0
|
* Fixed compiler warnings.Ilia Alshanetsky2003-08-311-4/+4
|
* Fix Win32 linkage problemsZeev Suraski2003-08-311-0/+3
|
* Remove all vector based functions for the following reasons:Jason Greene2003-08-161-588/+0
| | | | | | | | | | - This solves alot of platform compatibility problems - The possible security issue of allocating an incredibly large vector pool is prevented - They are of little to no benefit in a high level language - 99% of all things done with these functions can be done using sendto/recvfrom
* emalloc -> safe_emallocIlia Alshanetsky2003-08-121-4/+4
|
* Fix buildMarcus Boerger2003-08-031-1/+1
|
* Use new infrastructure.Zeev Suraski2003-08-031-16/+33
| | | | | There are bound to be some messups, please report build/runtime bugs!
* Fix EINVAL errors for OS's (Solaris + BSD) that do not appreciate ↵Jason Greene2003-07-221-2/+10
| | | | | | | microseconds >= 1 second Patch submitted from meebery@php.net
* gethostbyname2() not thread safe. Use getaddrinfo() or nothing at all.Sara Golemon2003-07-081-19/+1
|