Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | |||||
* | - size_t may be shorter than long and definitely is not signed. Note that the | Gustavo André dos Santos Lopes | 2012-03-04 | 1 | -1/+3 |
| | | | | | z modifier was only added in C99, so we can't use it. | ||||
* | Fixed bug #60106 (stream_socket_server silently truncates long unix socket ↵ | Ilia Alshanetsky | 2012-03-03 | 1 | -0/+1 |
| | | | | paths) | ||||
* | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | |||||
* | - PHP_STREAM_OPTION_WRITE_BUFFER no longer disables the read buffer of a plain | Gustavo André dos Santos Lopes | 2011-02-19 | 1 | -4/+0 |
| | | | | | | | | | | stream when 0 is given as the value. - PHP_STREAM_OPTION_WRITE_BUFFER no longer changes the chunk size in socket streams. - Added stream_set_chunk_size() function. - Some signedness fixes. - Test for commit r308474, now that it's possible to actually test it. | ||||
* | - Year++ | Felipe Pena | 2011-01-01 | 1 | -1/+1 |
| | |||||
* | add backlock socket context option for stream_socket_server(), | Michael Wallner | 2010-03-11 | 1 | -1/+1 |
| | | | | | which had a hardcoded backlog of 5 at two occurrances | ||||
* | Fixed bug #50787 (stream_set_write_buffer() has no effect on socket streams). | Ilia Alshanetsky | 2010-01-18 | 1 | -0/+4 |
| | |||||
* | sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-03 | 1 | -1/+1 |
| | |||||
* | fix bug #50196 | Stanislav Malyshev | 2009-12-19 | 1 | -0/+4 |
| | |||||
* | Fixed ext/standard/tests/streams/stream_get_contents_002.phpt | Dmitry Stogov | 2009-09-23 | 1 | -1/+1 |
| | |||||
* | - Fixed bug #49447 (php engine need to correctly check for socket API | Sriram Natarajan | 2009-09-04 | 1 | -4/+12 |
| | | | | | return status on windows). (Sriram Natarajan) | ||||
* | MFB: Fixed bug #44874 (dead pfsockopen'ed sockets aren't reaped when | Ilia Alshanetsky | 2009-02-09 | 1 | -1/+1 |
| | | | | | the remote end restarts) | ||||
* | MFH: | Felipe Pena | 2009-01-07 | 1 | -1/+1 |
| | | | | | | | - Added check for EWOULDBLOCK - Using EWOULDBLOCK instead of EAGAIN by portability issues (Related to #46917) | ||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 |
| | |||||
* | MFH: Revert fix for 43782, as it caused problems. | David Soria Parra | 2008-11-24 | 1 | -6/+2 |
| | |||||
* | MFH: Fixed bug #43782 (feof() does not detect timeout on socket) | David Soria Parra | 2008-08-26 | 1 | -2/+6 |
| | |||||
* | MFH:- Fixed bug #44127 (UNIX abstract namespace socket connect does not work) | Jani Taskinen | 2008-07-16 | 1 | -1/+1 |
| | |||||
* | MFH: manage references of stream context properly | Antony Dovgal | 2008-07-11 | 1 | -1/+3 |
| | |||||
* | char **error_message was passed but not used. This causes problems in cases | Andrey Hristov | 2008-03-10 | 1 | -1/+1 |
| | | | | | | of getaddrinfo() failure, because the upper layers don't get the error. initialize a variable because we were reading initialized in case of error. | ||||
* | Fixed bug #44233 (MSG_PEEK undefined under BeOS R5) | Ilia Alshanetsky | 2008-02-27 | 1 | -0/+4 |
| | |||||
* | MFH: Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 |
| | |||||
* | Fixed bug #41984 (Hangs on large SoapClient requests) | Dmitry Stogov | 2007-07-24 | 1 | -2/+6 |
| | |||||
* | MFH:- Fixed bugs #36796, #36918, #41371 (stream_set_blocking() does not work) | Jani Taskinen | 2007-07-17 | 1 | -11/+1 |
| | |||||
* | MFH: Bump year. | Sebastian Bergmann | 2007-01-01 | 1 | -1/+1 |
| | |||||
* | MFH | Antony Dovgal | 2006-12-21 | 1 | -0/+1 |
| | |||||
* | Added function stream_socket_shutdown(). It is a wraper for system ↵ | Dmitry Stogov | 2006-12-19 | 1 | -0/+18 |
| | | | | shutdown() function, that shut downs part of a full-duplex connection | ||||
* | MFH: fix crash when parsing invalid hostnames/IPs | Antony Dovgal | 2006-10-11 | 1 | -3/+6 |
| | |||||
* | MFH: Prevent bindport from being used uninitialized | Sara Golemon | 2006-02-02 | 1 | -1/+1 |
| | |||||
* | bump year and license version | foobar | 2006-01-01 | 1 | -3/+3 |
| | |||||
* | - Bumber up year | foobar | 2005-08-03 | 1 | -1/+1 |
| | |||||
* | ZTS fix. | Sebastian Bergmann | 2005-06-14 | 1 | -1/+1 |
| | |||||
* | Added bindto socket context option. | Ilia Alshanetsky | 2005-06-14 | 1 | -13/+34 |
| | |||||
* | Make new poll stuff work on win32 (and still be safe on unix) | Wez Furlong | 2004-09-17 | 1 | -0/+3 |
| | |||||
* | Fix for Bug #24189: possibly unsafe select(2) usage. | Wez Furlong | 2004-09-17 | 1 | -45/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Using int when long should be used. | Ilia Alshanetsky | 2004-08-22 | 1 | -1/+1 |
| | |||||
* | Fix for #29256 from Dmitry, very slightly modified | Wez Furlong | 2004-08-10 | 1 | -2/+38 |
| | |||||
* | zts fix... | Wez Furlong | 2004-07-31 | 1 | -1/+1 |
| | |||||
* | Misc sendto/recvfrom tweaks that have been pending here for a while... | Wez Furlong | 2004-07-31 | 1 | -1/+14 |
| | |||||
* | Make sure this is initialized... | Wez Furlong | 2004-07-31 | 1 | -0/+2 |
| | |||||
* | More wordsize fixes | Ard Biesheuvel | 2004-03-08 | 1 | -2/+2 |
| | |||||
* | Fix a bug in the persistent socket liveness checks and feof(); they were | Wez Furlong | 2004-02-04 | 1 | -3/+7 |
| | | | | | | | | | | | | | | | | | | using the default socket timeout of 60 seconds before returning the socket to the calling script. The reason they were using that value is that the same code is used for feof(), so the fix is allowing the caller to indicate the timeout value for liveness checks. A possible remaining issue now is that 0 second timeout[1] for pfsockopen is possibly too short; it's impossible to specify a sane value for all possible uses, so maybe we need a stream context or an .ini option to control this, or maybe use the timeout value that was passed to pfsockopen(). # [1] by timeout, I mean the time that PHP will wait for data on a # persistent socket before deciding if a new connection should be made; # NOT the timeout while waiting for a new connection to be established. | ||||
* | - A belated happy holidays and PHP 5 | Andi Gutmans | 2004-01-08 | 1 | -2/+2 |
| | |||||
* | this can't be persistent | Wez Furlong | 2003-12-02 | 1 | -1/+2 |
| | |||||
* | Removed unused variables. | Ilia Alshanetsky | 2003-11-30 | 1 | -0/+2 |
| | |||||
* | Add stream_socket_sendto and stream_socket_recvfrom which work very much | Wez Furlong | 2003-11-29 | 1 | -1/+58 |
| | | | | | like sendto() and recvfrom() syscalls. | ||||
* | (sort of) MFB, feof fix for sockets. | Wez Furlong | 2003-11-28 | 1 | -1/+7 |
| | |||||
* | port "liveness" checks and a couple of other things from the 4.3 branch. | Wez Furlong | 2003-11-27 | 1 | -8/+25 |
| | | | | | | Liveness checks are used to validate persistent socket connects when they are re-used. | ||||
* | Set the EOF indicator after each read attempt. | Wez Furlong | 2003-10-08 | 1 | -3/+1 |
| | | | | | This prevents it getting stuck in the on position. | ||||
* | Merge selectable descriptor casting from PHP_4_3 branch. | Wez Furlong | 2003-06-28 | 1 | -0/+1 |
| |