Jason Greene
c6a36d585b
@Impelemented timeout functionality, and fixed error handling of fsockopen() on win32
...
Also fixed error handling on unix (micropatch)
Closes Bug #14740
2002-06-11 03:55:28 +00:00
Wez Furlong
14a3911866
fix for bug #16168
2002-03-19 17:49:02 +00:00
Wez Furlong
c9d5e13738
TSRMLS related work on streams, as discussed with Zeev.
...
# Should be the last "broad" commit for a while
# Don't forget to make clean ; make
2002-03-18 18:54:32 +00:00
Wez Furlong
d2d8762267
Streams now make more use of the memory manager, so tracking down
...
leaking streams should be easier.
# I hate these big commits
2002-03-17 22:50:59 +00:00
Wez Furlong
effa6e8daa
tidy up the headers (streams related)
2002-03-17 13:29:44 +00:00
Wez Furlong
436e339bc7
Fix for Bug #16121 : make unix socket names binary safe.
...
# Could be applied to 4.2 branch, but I don't have a working copy, and
# I don't think it's amazingly critical.
2002-03-17 13:19:27 +00:00
Wez Furlong
52982c422e
This should help with some build problems/warnings under win32.
...
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 :-).
2002-03-16 02:33:00 +00:00
Wez Furlong
28d6981152
more *'s
2002-03-16 01:58:13 +00:00
Wez Furlong
0f65280cb5
New PHP streams...
2002-03-15 21:03:08 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Stig Venaas
9e420659ad
Added php_sockaddr_size() in network.c (and the header file). This is used
...
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
2002-02-10 12:35:29 +00:00
Stig Venaas
a6ec8d37e6
hostconnect now divides the timeout with no. of addresses. If a connection
...
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.
2002-01-06 22:45:43 +00:00
Stig Venaas
6e1878b0fc
Added some consts for arguments in network.c declarations. Moved
...
php_sockaddr_storage to php_network.h and added check for struct
sockaddr_storage
2002-01-06 11:54:19 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Wez Furlong
77e7035421
Fixed Andi's build problem.
2001-05-05 22:36:26 +00:00
Wez Furlong
3ffb8e3800
Nuke buffering from php_streams, move connect_nonb() from fsock.c to network.c
...
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.
2001-05-05 18:36:22 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Zeev Suraski
eb32144902
- Remove track_vars - it is now always on
...
- Make the various $HTTP_*_VARS[] arrays be defined always,
even if they're empty
- Fix Win32 build and warnings
2000-09-05 19:06:29 +00:00
Stig Venaas
24633f5987
renamed hostconnect() to php_hostconnect()
2000-09-05 16:36:56 +00:00
Stig Venaas
f0962c33a1
Added timeout argument, but not used yet
2000-09-03 19:12:28 +00:00
Stig Venaas
ad95450fc4
To be included by code using functions in network.c
2000-09-03 09:33:14 +00:00