History log of /PHP-7.0/ext/sockets/sockets.c (Results 301 – 325 of 329)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 405d11e6 18-Jan-2001 Sterling Hughes

Fix the proto


# 69abc1e9 16-Jan-2001 Rasmus Lerdorf

Kill some warnings


Revision tags: php-4.0.4pl1, php-4.0.4pl1RC2, php-4.0.4pl1RC1
# 8dca8f0e 03-Jan-2001 Jon Parise

Make socket support compile under Solaris 8 with the Sun WorkShop compiler.

PR: 8468


Revision tags: php-4.0.4REL, php-4.0.4RC6, php-4.0.4RC5, php-4.0.4RC4
# 3abdbd3d 12-Dec-2000 Stanislav Malyshev

Fix memory leak


# 5dc97420 12-Dec-2000 Stanislav Malyshev

Fix socket read returning bad values.


# a75b19e0 03-Dec-2000 Sterling Hughes

- Fix the handling of resource entries
- Fix the fd_dealloc() function


Revision tags: php-4.0.4RC3
# ae631446 06-Nov-2000 Sascha Schumann

Use socklen_t for getsockopt


# 7e807473 30-Oct-2000 Chris Vandomelen

Removed INI entry for read() function, made changes to read() so it will
take 4th parameter specifying whether to use the read() wrapper or the
system read() function, and modified the wrappe

Removed INI entry for read() function, made changes to read() so it will
take 4th parameter specifying whether to use the read() wrapper or the
system read() function, and modified the wrapper() so that it worked (mostly)
properly once again.

show more ...


# 70f262d0 27-Oct-2000 Sterling Hughes

New e-mail address.


# f1dcb32c 25-Oct-2000 Andrei Zmievski

Use zend_register_list_destructors_ex() instead.


# b57f9eb5 22-Oct-2000 Chris Vandomelen

Added ini entry for choosing whether to use the read() wrapper or directly
calling the read() system call.
# Some people were commenting about "oddities" in the wrapper that I hadn't
# no

Added ini entry for choosing whether to use the read() wrapper or directly
calling the read() system call.
# Some people were commenting about "oddities" in the wrapper that I hadn't
# noticed before, though I've used it in many places before now..

show more ...


# 989d4716 22-Oct-2000 Chris Vandomelen

Hopefully made some compile fixes for Solaris ("sun" is an already defined
symbol on Solaris.. s_un isn't...), and corrected bugs with checking for a
string by checking if Z_STRVAL_PP(ptr) ==

Hopefully made some compile fixes for Solaris ("sun" is an already defined
symbol on Solaris.. s_un isn't...), and corrected bugs with checking for a
string by checking if Z_STRVAL_PP(ptr) == NULL instead of
Z_STRLEN_PP == 0, causing segfaults when uninitialized values were passed
into certain functions.
@- Attempted to make compile fixes for Solaris in ext/sockets/sockets.c (Chris Vandomelen)
# OK, so I have a tendency to make lots and lots of bug fixes in big spurts..

show more ...


# 4f1a8a76 22-Oct-2000 Chris Vandomelen

Oops, forgot to remove those .. thought I had..


# 0646a493 22-Oct-2000 Chris Vandomelen

Corrected some bugs dealing with compile failures (should now compile
on most varieties of Linux, and should hopefully fix at least 3 of the
compile errors that were discovered). Also modifie

Corrected some bugs dealing with compile failures (should now compile
on most varieties of Linux, and should hopefully fix at least 3 of the
compile errors that were discovered). Also modified read() slightly
to take an optional parameter as to whether the data was binary or
text so it wouldn't stop reading on a newline or null byte received.
@- Made read() binary-safe in sockets.c (Chris Vandomelen)
@- Attempted fixing some compile failures (Chris Vandomelen)
# Hopefully someone will attempt to compile this on other systems, I
# have no access to other platforms to compile it on ....

show more ...


# 7b4983c8 20-Oct-2000 Andrei Zmievski

Mega-patch to get better resource information for modules.
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
* Switched register_list_destructors() to use
zend_register_list_destruc

Mega-patch to get better resource information for modules.
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
* Switched register_list_destructors() to use
zend_register_list_destructors_ex() instead
* Updated all relevant modules to provide the resource type name
to register_list_destructors() call
* Updated var_dump() to output resource type name instead of number

@- Made resource type names visible, e.g. var_dump() and
@ get_resource_type() display "file" for file resources. (Andrei)

show more ...


Revision tags: php-4.0.3, php-4.0.3RC2, php-4.0.3RC1
# 322891a2 15-Sep-2000 Chris Vandomelen

Changed assignment in read() to be more sane.


# d3ca6394 14-Sep-2000 Chris Vandomelen

Corrected memory leak in read().


# ce46ccd3 13-Sep-2000 Chris Vandomelen

Added prototypes for socketpair() and shutdown(), and corrected an obvious
bug in socketpair (causing it to not return the created sockets to the PHP
script.)


# 95d2ca8a 11-Sep-2000 Sascha Schumann

Add proper struct sockaddr * casts and make use of memcpy/memset ('coz we
don't provide any fallbacks for bcopy/bzero).


# e9dd1375 10-Sep-2000 Sterling Hughes

Fix compile warning.
Fix proto.
Change PHP_MINFO output to be consistent.


Revision tags: php-4.0.2
# 0508a614 23-Aug-2000 Egon Schmid

Changed long to int.


# 2604cb98 23-Aug-2000 Sterling Hughes

A little condensing,
Add an additional check to make sure port is specified with
AF_INET in connect().


# 91944be3 23-Aug-2000 Chris Vandomelen

Corrected bugs in php_if_connect() to make it work properly -- needed to
run htons() on the port number provided, and needed to perform DNS lookups
properly and store the results as expected.


Revision tags: PRE_LIBMYSQL_REVERT, php-4.0.2RC1
# 8ef1279f 20-Aug-2000 Chris Vandomelen

Added another bug fix to detect for negative values being passed into the
fd_*() functions, as passing negative values would cause PHP to segfault.


# f75db1e3 20-Aug-2000 Sterling Hughes

A Whole buncha stuff, mostly bug fixing...
- Make constants case-sensitive, conforming with the rest of PHP &
the C API.
- Make module compatible with thread safet

A Whole buncha stuff, mostly bug fixing...
- Make constants case-sensitive, conforming with the rest of PHP &
the C API.
- Make module compatible with thread safety features.
- open_listen_sok() -> open_listen_sock()
- Remove ext_skel comments
- Get rid of the ZVAL macro and replace with the correct Z_*_*
macros
- declare all functions local to the file as static.
- Remove empty PHP_MSHUTDOWN() function.
- Removed confirm_sockets_compiled()
- Changed RETVAL_* macro's to RETURN_* macro's eliminating errors
with incorrect return values and a potential leak/crash or two.
- functions that return void, actually return void
- Replaced 'long' in the prototypes with 'int'
- Fixed fd_zero() function, it gave a WRONG_PARAM_COUNT when you
gave it the proper parameter count.
- Changed the way an arbitrary number of parameters were accessed
from build_iovec() to use the Zend API.
- Added socketpair() and shutdown() functions.

show more ...


1...<<11121314