[HttpClient] with "bindto" with NativeHttpClient

This commit is contained in:
Nicolas Grekas 2020-09-07 09:41:14 +02:00
parent d441d867cd
commit cea05311fc
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ final class NativeHttpClient implements HttpClientInterface, LoggerAwareInterfac
'disable_compression' => true,
], static function ($v) { return null !== $v; }),
'socket' => [
'bindto' => $options['bindto'],
'bindto' => $options['bindto'] ?: '0:0',
'tcp_nodelay' => true,
],
];