Skip to content

Commit 94e2cc1

Browse files
committed
#133: Sockets [add TCP_REPAIR to silently close a connection](php/php-src#10724)
1 parent 411ea90 commit 94e2cc1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

data/reference/extension/sockets/83/constants.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,10 @@
3838
"name": "TCP_QUICKACK",
3939
"ext_min": "8.3.0alpha1",
4040
"php_min": "8.3.0alpha1"
41+
},
42+
{
43+
"name": "TCP_REPAIR",
44+
"ext_min": "8.3.0alpha1",
45+
"php_min": "8.3.0alpha1"
4146
}
4247
]

tests/Reference/Extension/PhpBundle/Sockets/SocketsExtensionTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ public static function setUpBeforeClass(): void
107107
'SOCKET_EXDEV',
108108
'SOCKET_EXFULL',
109109
// if def (from ext/sockets/sockets_arginfo.h)
110-
'TCP_QUICKACK'
110+
'TCP_QUICKACK',
111+
'TCP_REPAIR',
111112
);
112113
}
113114
// Common to Windows and Unix

0 commit comments

Comments
 (0)