Nikita Popov
235983dfde
Merge branch 'PHP-7.4'
2019-09-30 17:52:39 +02:00
Fabien Villepinte
0aa3acc6c4
Fix borked SKIPIFs
2019-09-30 17:51:41 +02:00
viest
48040cf345
Remove deprecated getaddrinfo flags
...
The AI_IDN_ALLOW_UNASSIGNED and AI_IDN_USE_STD3_ASCII_RULES have
been deprecated by glibcs, and PHP 7.4 follows this deprecation.
This removes the offending flags for PHP 8.0.
2019-08-26 11:45:31 +02:00
Nikita Popov
06a4a9ba42
Merge branch 'PHP-7.4'
2019-08-26 11:33:38 +02:00
viest
5703943081
Deprecate AI_IDN_ALLOW_UNASSIGNED and AI_IDN_USE_STD3_ASCII_RULES
...
These flags have been deprecated in glibc 2.28, so we also
deprecate them in PHP.
As we can't deprecate constants, we can only check for their use
in socket_addrinfo_lookup().
2019-08-26 11:33:18 +02:00
Nikita Popov
057012f241
Merge branch 'PHP-7.4'
2019-07-03 12:48:00 +02:00
Nikita Popov
d6d9024cb8
Avoid use of random ports in some socket tests
2019-07-03 12:47:49 +02:00
Joe Watkins
9bcbd80775
Merge branch 'PHP-7.4'
...
* PHP-7.4:
fix flaky socket test
2019-06-18 08:31:32 +02:00
Joe Watkins
68785c00ef
fix flaky socket test
2019-06-18 08:30:46 +02:00
Joe Watkins
7231ee9f55
Merge branch 'PHP-7.4'
...
* PHP-7.4:
fix flaky socket tests
2019-06-15 08:09:17 +02:00
Joe Watkins
afdf7ed5ba
fix flaky socket tests
2019-06-15 08:08:08 +02:00
Joe Watkins
956db0cdc2
Merge branch 'PHP-7.4'
...
* PHP-7.4:
fix mac tests on azure
2019-06-14 12:58:13 +02:00
Joe Watkins
f16b012116
fix mac tests on azure
2019-06-14 12:55:00 +02:00
Nikita Popov
af10245034
Merge branch 'PHP-7.4'
2019-06-13 09:38:19 +02:00
Nikita Popov
4603ce731b
Don't throw warning if testing multiple ports
2019-06-13 09:34:23 +02:00
Joe Watkins
6df77cafb9
Merge branch 'PHP-7.4'
...
* PHP-7.4:
fix flaky sockets test - form of response is OS dependent
2019-06-12 08:48:18 +02:00
Joe Watkins
c54a247cb0
fix flaky sockets test - form of response is OS dependent
2019-06-12 08:47:35 +02:00
Joe Watkins
2a11d88bc5
Merge branch 'PHP-7.4'
...
* PHP-7.4:
fix flaky test on OSX
2019-06-12 08:33:19 +02:00
Joe Watkins
abe38b5e48
fix flaky test on OSX
2019-06-12 08:33:07 +02:00
Joe Watkins
f5e79e0b40
Merge branch 'PHP-7.4'
...
* PHP-7.4:
fix flaky ipv4 loopback test
2019-06-10 10:35:57 +02:00
Joe Watkins
52ca8ca7d5
fix flaky ipv4 loopback test
2019-06-10 10:35:31 +02:00
Christoph M. Becker
3b77f269e9
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Use zero port in socket_(export|import)_stream-4-win.phpt
2019-06-06 16:19:37 +02:00
Christoph M. Becker
3b05bdedcd
Use zero port in socket_(export|import)_stream-4-win.phpt
...
These regularly fail due to port clashes, though we don't seem to
use those ports in any other tests.
As we don't care about the specific port that is used here, pass
zero so that a random ephemeral port is used.
2019-06-06 16:19:19 +02:00
Nikita Popov
03a9c2df7b
Merge branch 'PHP-7.4'
2019-06-05 11:58:20 +02:00
Nikita Popov
528aa7932a
Use zero port in socket_(export|import)_stream-5.phpt
...
These regularly fail due to port clashes, though we don't seem to
use those ports in any other tests.
As we don't care about the specific port that is used here, pass
zero so that a random ephemeral port is used.
2019-06-05 11:58:11 +02:00
Nikita Popov
623eedbbd5
Merge branch 'PHP-7.4'
2019-06-04 16:14:46 +02:00
Nikita Popov
d512075ff8
Fix potential port conflicts
2019-06-04 16:11:52 +02:00
Nikita Popov
1df8175b61
Convert fetch_resource warnings into TypeErrors
...
More type checks that are not part of zpp and should generate a
TypeError in PHP 8.
2019-06-03 09:17:12 +02:00
Christoph M. Becker
8a11f3b166
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Prevent parallel test conflicts
2019-05-27 18:43:18 +02:00
Christoph M. Becker
c12d474653
Prevent parallel test conflicts
...
These ports are already used by another test, so we change them.
2019-05-27 18:42:52 +02:00
Nikita Popov
22797c0e00
Merge branch 'PHP-7.4'
2019-05-23 11:13:22 +02:00
Nikita Popov
fc8fb77262
Merge branch 'PHP-7.3' into PHP-7.4
2019-05-23 11:13:14 +02:00
Nikita Popov
b394654c1e
Merge branch 'PHP-7.2' into PHP-7.3
2019-05-23 11:12:59 +02:00
Nikita Popov
9a74b23297
Fixed bug #78038 socket_select with references
2019-05-23 11:12:15 +02:00
Peter Kokot
6426420f61
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Replace dirname(__FILE__) by __DIR__ in tests
2019-03-15 23:36:47 +01:00
Fabien Villepinte
26dfce7f36
Replace dirname(__FILE__) by __DIR__ in tests
2019-03-15 22:55:30 +01:00
Nikita Popov
852485d8ec
Adjust tests for zpp TypeError change
2019-03-11 11:32:20 +01:00
Nikita Popov
c8e10c6119
More zpp error/variation test removals
2019-03-07 15:54:31 +01:00
Nikita Popov
17fb7241e4
Merge branch 'PHP-7.4'
2019-03-06 13:45:13 +01:00
Nikita Popov
8c62c69265
More zpp error/variation test removals
...
Some of these tests also check non-zpp conditions -- however, there is
always some other test that also checks those error conditions.
2019-03-06 13:40:22 +01:00
Nikita Popov
c937c55d75
Fix some port collisions in sockets tests
2019-02-25 09:24:45 +01:00
Nikita Popov
db894844e7
Avoid port conflicts in ext/sockets tests
2019-02-19 15:53:24 +01:00
Rodrigo Prado
b86d7738fb
Add test socket_setopt() basic functionality
...
Rodrigo Prado de Jesus royopa@gmail.com
User Group: PHPSP #PHPTestFestBrasil
---------------------------------------------------------------
The function was not coveraged yet
sockets Function socket_setopt no
http://gcov.php.net/viewer.php?version=PHP_HEAD&func=tested_functions
2019-02-13 02:30:48 +01:00
Anatol Belski
8789348364
Merge branch 'PHP-7.3'
...
* PHP-7.3:
Initialize s_un (sockaddr_un) to zero before using it. Fixes #76839 .
2018-12-26 19:03:04 +01:00
Anatol Belski
e38e44e3c6
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Initialize s_un (sockaddr_un) to zero before using it. Fixes #76839 .
2018-12-26 19:01:36 +01:00
Michael Meyer
3c42c784c2
Initialize s_un (sockaddr_un) to zero before using it. Fixes #76839 .
2018-12-26 18:58:27 +01:00
Joe Watkins
177d45b7e7
Merge branch 'PHP-7.3'
...
* PHP-7.3:
Validate length on socket_write
2018-11-13 13:00:50 +01:00
Joe Watkins
8a11c9ee76
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Validate length on socket_write
2018-11-13 13:00:08 +01:00
Joe Watkins
ce4eb89976
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Validate length on socket_write
2018-11-13 12:58:23 +01:00
Thiago Carvalho
ec2e7a2d48
Validate length on socket_write
2018-11-13 12:56:37 +01:00