Carson McDonald
0c11cab919
Typo fix: recieved to received
2013-03-07 23:05:05 +01:00
Gustavo Lopes
e8f0e863ae
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix wrong blocking state being set
Fix tests (Windows)
Remove a Windows only warning
Move & improve PHP_SOCKET_ERROR def
Move some declarations to sockets.c
Fix overbroad skipif include
2013-02-02 15:32:03 +01:00
Gustavo Lopes
24e380f970
Remove a Windows only warning
2013-02-02 15:29:18 +01:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Xinchen Hui
0a7395e009
Happy New Year
2013-01-01 16:28:54 +08:00
Pierre Joye
94994104a5
- bump minimum version, no more XP/2003
2012-03-04 15:08:12 +00:00
Felipe Pena
8775a37559
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Moriyoshi Koizumi
891acc30c0
- Forgot to commit these.
2011-06-20 20:30:36 +00:00
Moriyoshi Koizumi
2c6b2f64df
- Forgot to commit these.
2011-06-20 20:30:36 +00:00
Gustavo André dos Santos Lopes
0de2e61cab
- Added socket_import_stream().
...
- Fixed socket_strerror.phpt
- Made php_set_sock_blocking return FAILURE on fcntl error.
- Made socket_set_block()/socket_set_nonblock() emit warning on error.
2011-03-22 00:44:23 +00:00
Gustavo André dos Santos Lopes
c6ccc43285
- Fixed several comparisons that always result in true of false
...
due to signedness of one of the operands, either by removing
dead code or fixing it.
- Thrown some comments around in php_stream_get_record.
- See http://www.mail-archive.com/internals@lists.php.net/msg49525.html
2011-02-01 18:11:16 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Gustavo André dos Santos Lopes
00f75c79ca
- Fixed a small mistake in the fix for bug #50953 that made connection timeouts not be detected as such.
2010-10-02 18:32:20 +00:00
Pierre Joye
6b72fef134
- fix the fix for bug #52323
2010-09-08 11:51:11 +00:00
Pierre Joye
123ab59b9c
- WS
2010-09-08 10:26:59 +00:00
Pierre Joye
487746cf39
- Fix bug #52323 , return value of php_network_connect_socket should be set even if the caller does not care about the error_string
2010-09-08 10:25:40 +00:00
Pierre Joye
7ce4f4955d
- fix bug #50953 , socket will not connect to IPv4 address when the host has both ipv4 and ipv6 addresses
2010-09-07 09:47:36 +00:00
Kalle Sommer Nielsen
dd8e59da8f
Removed safe_mode
...
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Ilia Alshanetsky
d35c2b14dd
Fixed bug #48805 (IPv6 socket transport is not working).
2009-09-30 20:48:41 +00:00
Sriram Natarajan
ac2d3990f2
- Fixed bug #49447 (php engine need to correctly check for socket API
...
return status on windows). (Sriram Natarajan)
2009-09-04 07:59:48 +00:00
Antony Dovgal
79d1691d11
MFH: use correct function
2009-05-04 14:44:46 +00:00
Antony Dovgal
7809cd64e8
MFH: don't segfault on bindto == NULL
2009-05-04 14:25:17 +00:00
Ilia Alshanetsky
8c9195e48d
Fixed bug #48131 (Don't try to bind ipv4 addresses to ipv6 ips via bindto)
2009-05-04 13:09:15 +00:00
Felipe Pena
acd8f0020e
- MFH: Windows part
2009-01-03 00:06:33 +00:00
Felipe Pena
5b2bb471f7
- MFH: Errr, rule nº 1: be portable :)
2009-01-02 21:42:52 +00:00
Felipe Pena
9c2043d41a
- MFH: Working with unintialized errno ( #46917 , noticed by Jost Boekemeier)
2009-01-02 21:28:28 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Arnaud Le Blanc
43400aaf87
MFH: initialize memory
2008-11-04 20:40:30 +00:00
Felipe Pena
c96d79b2e6
- MFH: Fixed bug #46082 (stream_set_blocking() can cause a crash in some circumstances)
2008-10-24 10:44:43 +00:00
Pierre Joye
2620304003
- MFH:
...
- drop bindlib usage on windows
- inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
2008-08-23 19:22:10 +00:00
Jani Taskinen
7cb641a66e
MFH: silence warning
2008-07-11 13:11:49 +00:00
Antony Dovgal
f0b9ac513c
MFH: fix segfault - error_string may be NULL, in this case we have to follow the old behavior
2008-03-11 10:27:10 +00:00
Andrey Hristov
49add03404
char **error_message was passed but not used. This causes problems in cases
...
of getaddrinfo() failure, because the upper layers don't get the error.
initialize a variable because we were reading initialized in case of error.
2008-03-10 19:54:47 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Rob Richards
da4da2ae14
MFH: fix non ipv6 enabled win build
2007-11-06 10:57:26 +00:00
Edin Kadribasic
be87d68c0e
Fix build
2007-10-12 08:07:13 +00:00
Elizabeth Marie Smith
4e339842fc
Fix build on MSVC 2008 - channeling Wez
2007-10-09 21:53:44 +00:00
Jani Taskinen
741c74a25e
MFH: Use correct macro name
2007-07-18 09:04:58 +00:00
Jani Taskinen
2c05c8c6b3
MFH: ws fix
2007-07-17 13:29:33 +00:00
Antony Dovgal
7c92982b5b
MFH
2007-01-11 15:51:37 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Sara Golemon
93c8a45083
MFH: Bug #38687 - sockaddr local storage insufficient for all sock families
2006-09-11 19:18:07 +00:00
Nuno Lopes
7961207d6b
add const keywords
2006-07-01 11:35:34 +00:00
Antony Dovgal
ef1f36e2c1
first check stream for NULL, then dereference
2006-03-19 22:33:10 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Antony Dovgal
79d649e173
fix memleak when connection fails (and we still keep trying)
2005-06-20 23:16:27 +00:00
Ilia Alshanetsky
aa52c68a7a
bzero > memset
2005-06-14 13:09:04 +00:00