Actions
Feature #14430
opennet/http: use Socket.tcp with connect_timeout, instead of TCPSocket.open wrapped in Timeout.timeout
    Feature #14430:
    net/http: use Socket.tcp with connect_timeout, instead of TCPSocket.open wrapped in Timeout.timeout
  
Status:
Open
Assignee:
-
Target version:
-
Description
Instead of using TCPSocket.open, wrapped in Timeout.timeout, that will create a temporary thread. By using Socket.tcp with the connect_timeout argument for open_timeout the connection opening is much more efficient as the kernels timeout is used instead.
Actions