summaryrefslogtreecommitdiff
path: root/main/network.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed safe_modeKalle Sommer Nielsen2010-04-261-1/+1
| | | | | | | * 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
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* Fixed bug #48805 (IPv6 socket transport is not working).Ilia Alshanetsky2009-09-301-1/+1
|
* - Fixed bug #49447 (php engine need to correctly check for socket API Sriram Natarajan2009-09-041-5/+5
| | | | | return status on windows). (Sriram Natarajan)
* MFH: use correct functionAntony Dovgal2009-05-041-1/+1
|
* MFH: don't segfault on bindto == NULLAntony Dovgal2009-05-041-1/+1
|
* Fixed bug #48131 (Don't try to bind ipv4 addresses to ipv6 ips via bindto)Ilia Alshanetsky2009-05-041-4/+9
|
* - MFH: Windows partFelipe Pena2009-01-031-1/+4
|
* - MFH: Errr, rule nº 1: be portable :)Felipe Pena2009-01-021-0/+2
|
* - MFH: Working with unintialized errno (#46917, noticed by Jost Boekemeier)Felipe Pena2009-01-021-0/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: initialize memoryArnaud Le Blanc2008-11-041-0/+2
|
* - MFH: Fixed bug #46082 (stream_set_blocking() can cause a crash in some ↵Felipe Pena2008-10-241-1/+5
| | | | circumstances)
* - MFH:Pierre Joye2008-08-231-2/+3
| | | | | | - drop bindlib usage on windows - inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
* MFH: silence warningJani Taskinen2008-07-111-0/+2
|
* MFH: fix segfault - error_string may be NULL, in this case we have to follow ↵Antony Dovgal2008-03-111-6/+18
| | | | the old behavior
* char **error_message was passed but not used. This causes problems in casesAndrey Hristov2008-03-101-3/+6
| | | | | | of getaddrinfo() failure, because the upper layers don't get the error. initialize a variable because we were reading initialized in case of error.
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: fix non ipv6 enabled win buildRob Richards2007-11-061-0/+2
|
* Fix buildEdin Kadribasic2007-10-121-1/+1
|
* Fix build on MSVC 2008 - channeling WezElizabeth Marie Smith2007-10-091-0/+3
|
* MFH: Use correct macro nameJani Taskinen2007-07-181-1/+1
|
* MFH: ws fixJani Taskinen2007-07-171-18/+18
|
* MFHAntony Dovgal2007-01-111-2/+2
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* MFH: Bug #38687 - sockaddr local storage insufficient for all sock familiesSara Golemon2006-09-111-10/+19
|
* add const keywordsNuno Lopes2006-07-011-1/+1
|
* first check stream for NULL, then dereferenceAntony Dovgal2006-03-191-2/+4
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* fix memleak when connection fails (and we still keep trying)Antony Dovgal2005-06-201-1/+7
|
* bzero > memsetIlia Alshanetsky2005-06-141-1/+1
|
* Added bindto socket context option.Ilia Alshanetsky2005-06-141-1/+33
|
* removed unwanted NEW_LIBC checksAnantha Kesari H Y2004-10-061-8/+1
|
* Make new poll stuff work on win32 (and still be safe on unix)Wez Furlong2004-09-171-18/+7
|
* Fix for Bug #24189: possibly unsafe select(2) usage.Wez Furlong2004-09-171-18/+102
| | | | | | | | | | | | | | | | | | | | | | | | | We avoid the problem by using poll(2). On systems without poll(2) (older bsd-ish systems, and win32), we emulate poll(2) using select(2) and check for valid descriptors before attempting to access them via the descriptor sets. If an out-of-range descriptor is detected, an E_WARNING is raised suggesting that PHP should be recompiled with a larger FD_SETSIZE (and also with a suggested value). Most uses of select(2) in the source are to poll a single descriptor, so a couple of handy wrapper functions have been added to make this easier. A configure option --enable-fd-setsize has been added to both the unix and win32 builds; on unix we default to 16384 and on windows we default to 256. Windows FD_SETSIZE imposes a limit on the maximum number of descriptors that can be select()ed at once, whereas the unix FD_SETSIZE limit is based on the highest numbered descriptor; 256 should be plenty for PHP scripts under windows (the default OS setting is 64). The win32 specific parts are untested; will do that now.
* Ensure that port numbers get set in the peer/socket name functions.Wez Furlong2004-07-281-5/+5
| | | | | (duh!)
* Fix #29431: crash when parsing an invalid network addressWez Furlong2004-07-281-1/+4
|
* BugFix: Copy/Paste mistake referenced undefined variable on platforms ↵Sara Golemon2004-04-091-1/+1
| | | | without gettimeofday()
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* Detect and enable IPv6 support under win32.Wez Furlong2003-12-061-7/+7
| | | | | | The ws2tcpip.h header links to IPv6 functions dynamically and the generated binary will run on win98 and later.
* Export these so that ftp extension can be build as shared ext.Wez Furlong2003-12-021-2/+2
|
* Removed unused variables.Ilia Alshanetsky2003-11-301-4/+1
|
* Add stream_socket_sendto and stream_socket_recvfrom which work very muchWez Furlong2003-11-291-4/+91
| | | | | like sendto() and recvfrom() syscalls.
* emalloc -> safe_emallocIlia Alshanetsky2003-08-121-1/+1
|
* Initialize this variable to 0 as suggested by saraMarcus Boerger2003-08-101-1/+1
|
* Merge getaddrinfo() tidy-up from PHP_4_3 branch.Wez Furlong2003-06-281-39/+40
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* emalloc -> safe_emallocIlia Alshanetsky2003-05-131-1/+1
|
* fix warnings - one leftMarcus Boerger2003-03-081-1/+3
|