Sara Golemon
2080e2fb4a
Missing length limit parameter.
2004-06-07 04:42:40 +00:00
Derick Rethans
baed8167d6
- MFH: Fixed bug #28523 (Typo in ext/sockets/sockets.c)
2004-05-26 06:54:00 +00:00
Edin Kadribasic
45fa60d315
MFH
2004-05-18 12:17:40 +00:00
Ilia Alshanetsky
5eaf82b6eb
MFH: Do not allocate error buffer at the start of every request.
2004-05-16 15:34:56 +00:00
Ilia Alshanetsky
2af0c3bbdf
MFH:
...
Fixed bug #21760 (Use of uninitialized pointer inside php_read()).
Fixed 3 possible crashes due to integer overflow or invalid user input
inside the sockets extension.
2004-02-25 22:12:03 +00:00
Ilia Alshanetsky
fa55a5a826
Compiler warning fixes.
2003-08-28 20:01:37 +00:00
Jason Greene
9dbbc057c5
MFH: fix for #24629
2003-07-25 01:50:09 +00:00
foobar
38b3ef790b
MFH: missing CVS Id tags and license headers
2003-07-20 10:54:03 +00:00
Ilia Alshanetsky
a788378ce2
Fix compile warnings (mostly MFH from 5.0 branch)
2003-06-05 23:48:17 +00:00
foobar
bf0d23f985
MFH
2003-04-25 08:10:23 +00:00
foobar
74348caba2
MFH
2003-04-17 23:20:58 +00:00
Ilia Alshanetsky
0ec69ef808
Integer overflow stuff.
2003-04-16 23:57:56 +00:00
Moriyoshi Koizumi
4c37bb0be8
MFH(r-1.137): compiler warning fix & possible 64bit fix
2003-04-16 19:19:13 +00:00
Moriyoshi Koizumi
e8713cc150
MFH(r-1.136): fixed bug #23080
2003-04-16 17:32:41 +00:00
foobar
a4fe7b11ee
MFH
2003-04-05 17:34:04 +00:00
Moriyoshi Koizumi
6ccaefd48d
MFH: added check for struct cmsghdr. now sockets extension can be built
...
under cygwin
2003-04-04 18:40:38 +00:00
Moriyoshi Koizumi
aa00851aa4
MFH(r-1.135): fixed memleak in socket_select()
2003-04-04 14:18:31 +00:00
Rasmus Lerdorf
724429c759
Ok, really fix socket_iovec_alloc() this time
2003-04-01 18:12:24 +00:00
Rasmus Lerdorf
15d4bfd607
Make sure we never pass a negative arg to emalloc
...
(once again, this API needs to be fixed, so this is just for 4.3)
2003-03-25 19:26:18 +00:00
Rasmus Lerdorf
f461ad12fb
Restrict this function to a max of 65k io vectors to avoid weird
...
overflows. Purely an arbitrary number. This API needs cleaning up,
but it would break BC and I don't want to do that in 4.3.
2003-03-25 15:54:26 +00:00
Rasmus Lerdorf
e120dab4f2
Fix arg list segfault
2003-03-24 19:28:58 +00:00
David Hill
a9cf0f46fc
fixing missed int to long with zend_parse_parameters
2003-03-10 15:57:07 +00:00
David Hill
45a1a3037a
64-bit correction to variables passed to zend_parse_parameters
...
@64-bit correction to variables passed to zend_parse_parameters (Dave)
2003-03-07 13:42:30 +00:00
Sebastian Bergmann
ec46829b38
MFH: Bump year.
2002-12-31 16:37:36 +00:00
Sterling Hughes
e4871a4a2c
mfh
2002-12-20 15:45:53 +00:00
Edin Kadribasic
0d9704fa7b
Fixed crash in socket_read on windows #20894 (patch by Wez Furlong).
2002-12-09 11:29:31 +00:00
Jason Greene
e0018cc874
MFH
2002-12-03 05:46:53 +00:00
Sander Roobol
a207b641e5
Fix proto and #20137
2002-10-28 18:00:30 +00:00
Sterling Hughes
62d10bc969
make one-line read work on win32...
...
# The implementation of this function is brain-dead, but at least
# now its brain-dead on win32 too... ;-)
2002-10-28 03:05:04 +00:00
Rasmus Lerdorf
2ca6f26918
Kill warning
2002-10-04 18:01:52 +00:00
Jason Greene
06ad8620db
Fix thread safety issue
2002-09-30 02:09:42 +00:00
Jason Greene
a8ca9932f4
Implement contstants on win32
...
@Implement platform independant socket error constants, which benefits error handling
2002-09-23 03:34:21 +00:00
Jason Greene
565492248a
Fix crash bug and memory leak in vectors
...
#still need to revisit how these are done, i.e. they are not binary safe
2002-09-10 04:12:55 +00:00
foobar
f05db43a68
Fix bug: #19212
2002-09-04 14:30:36 +00:00
Jason Greene
b3a1998386
@socket_recvfrom is now binary safe (Jason)
...
Zero the structure so that when the tcp layer of the OS decides to ignore it,
we do not think we are getting a value
2002-08-28 06:15:13 +00:00
Jason Greene
1ce75e3a63
Implement socket errno values for UNIX based platforms.
...
They are all prefixed with SOCKET_ to preserve name space
Win32 will follow...
2002-08-25 23:28:42 +00:00
Jason Greene
980feb5e98
Nuke warnings on strict compilers
2002-08-16 14:23:27 +00:00
Jason Greene
0cd2d8bd38
Remove sleep workaround, and fix the actual win32 memory leak which
...
was occurring in the error reporting system. The reason why sleepex appeared
to be working was because it suppressed EWOULDBLOCK errors in the example
(which was non-blocking)
@Fix win32 memory leak in /ext/sockets that would occur on any error condition
@Fix host resolution error messages on win32
2002-07-07 07:01:17 +00:00
Markus Fischer
c15d83b9ed
- Fix proto.
2002-06-25 06:24:45 +00:00
Harald Radi
a3c79eca49
workaround for a win32 memleak
...
# this definitely has to be revisited !
# maybe we should use winsock2 and overlapped IO
2002-06-15 16:04:59 +00:00
Harald Radi
f7bdde218e
workaround for a win32 memleak
...
# this definitely has to be revisited !
# maybe we should use winsock2 and overlapped IO
2002-06-15 15:58:16 +00:00
Sascha Schumann
226e1ed246
As far as I can tell, the AC_CHECK_MEMBER could not succeed,
...
because it does not include <sys/socket.h> which is necessary
for the definition of struct msghdr. This include file is not
part of ac_includes_default.
Regardless, AC_CHECK_MEMBER is a autoconf-2.5x macro and thus we
expand it here for 2.13 compatibility.
2002-05-12 17:28:12 +00:00
Jason Greene
969d7e5a82
Fix build on IRIX for both mips and gcc
2002-05-12 07:22:47 +00:00
Jason Greene
cfb285a391
Fix overflow
2002-05-08 15:30:04 +00:00
Jason Greene
d4b11fb33f
Fix 10830, and 17074
...
FreeBSD requires the exact length of the socket type
2002-05-07 18:47:17 +00:00
Jason Greene
89c59569ba
socket_write() should just use the standard socket error macro so that errors will be consistent if the macro ever changes
2002-05-02 16:45:22 +00:00
Markus Fischer
07efbff856
- Update protos for socket_read() and socket_write().
...
- Set last_error in socket_write().
2002-05-01 16:38:22 +00:00
Markus Fischer
ae5bc7c0f6
- Update protos for getpeer/getsock-name.
2002-05-01 16:08:50 +00:00
Jason Greene
38a6325178
Fix BYREF_FORCE that was not being read
...
Fix error message
2002-05-01 15:14:49 +00:00
Markus Fischer
1a5501ddfd
- Rename setopt and getopt to set_option and get_option, provide alias.
2002-05-01 11:08:08 +00:00