summaryrefslogtreecommitdiff
path: root/main/php_network.h
Commit message (Collapse)AuthorAgeFilesLines
* Switch streams socket abstraction to use a timeval structure instead of anJason Greene2002-07-221-2/+2
| | | | | | | | integer to allow subsecond timeouts. This supports the previous behavior of fsockopen() Fixes bug #16261
* Fix feof() on win32Jason Greene2002-07-191-0/+6
| | | | | Bug #18436
* @Impelemented timeout functionality, and fixed error handling of fsockopen() ↵Jason Greene2002-06-111-0/+5
| | | | | | | | | on win32 Also fixed error handling on unix (micropatch) Closes Bug #14740
* fix for bug #16168Wez Furlong2002-03-191-0/+2
|
* TSRMLS related work on streams, as discussed with Zeev.Wez Furlong2002-03-181-14/+14
| | | | | | # Should be the last "broad" commit for a while # Don't forget to make clean ; make
* Streams now make more use of the memory manager, so tracking downWez Furlong2002-03-171-4/+16
| | | | | | leaking streams should be easier. # I hate these big commits
* tidy up the headers (streams related)Wez Furlong2002-03-171-0/+10
|
* Fix for Bug #16121: make unix socket names binary safe.Wez Furlong2002-03-171-1/+1
| | | | | | # Could be applied to 4.2 branch, but I don't have a working copy, and # I don't think it's amazingly critical.
* This should help with some build problems/warnings under win32.Wez Furlong2002-03-161-0/+9
| | | | | | | Someone still needs to add the streams.c file to the MSVC project/workspace though (there are so many that I don't really know what I am doing :-).
* more *'sWez Furlong2002-03-161-8/+8
|
* New PHP streams...Wez Furlong2002-03-151-0/+54
|
* Maintain headers.Sebastian Bergmann2002-02-281-1/+1
|
* Added php_sockaddr_size() in network.c (and the header file). This is usedStig Venaas2002-02-101-0/+1
| | | | | | in ftp.c to make sure connect() and bind() is called with size argument which is exactly the size of the relevant sockaddr_xx structure
* hostconnect now divides the timeout with no. of addresses. If a connectionStig Venaas2002-01-061-0/+1
| | | | | | attempt times out, it goes on to the next. Unless each timeout would be <5s. Added php_any_addr() that fills out the any address for IPv6 and IPv4.
* Added some consts for arguments in network.c declarations. MovedStig Venaas2002-01-061-2/+10
| | | | | | php_sockaddr_storage to php_network.h and added check for struct sockaddr_storage
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* Fixed Andi's build problem.Wez Furlong2001-05-051-0/+4
|
* Nuke buffering from php_streams, move connect_nonb() from fsock.c to network.cWez Furlong2001-05-051-0/+20
| | | | | | | | and rename to php_connect_nonb(). Use php_connect_nonb() instead of connect() in php_hostconnect() -> timeouts should now work in php_hostconnect(). sock streams abstraction now uses php_sockbuf as the "abstract" pointer.
* - Fix copyright notices with 2001Andi Gutmans2001-02-261-1/+1
|
* - Remove track_vars - it is now always onZeev Suraski2000-09-051-1/+6
| | | | | | | - Make the various $HTTP_*_VARS[] arrays be defined always, even if they're empty - Fix Win32 build and warnings
* renamed hostconnect() to php_hostconnect()Stig Venaas2000-09-051-1/+1
|
* Added timeout argument, but not used yetStig Venaas2000-09-031-1/+1
|
* To be included by code using functions in network.cStig Venaas2000-09-031-0/+27