Feature #5460

Improve "CONNECT" code in net/http. (patch inclulded)

Added by Hiroki Najima almost 4 years ago. Updated over 3 years ago.

[ruby-core:40201]
Status:Closed
Priority:Normal
Assignee:-

Description

The net/http sends "CONNECT" request when communicate https server via proxy.
At this time, net/http calls "write" each request.

This is a fair but inefficient code because it increases the system call invocation and packet fragmentation potential.
It is better to send the requst in the bulk, likewise the other send request codes.

See also, the thread.

Regards,

http.rb.patch Magnifier (987 Bytes) Hiroki Najima, 10/18/2011 06:20 PM

History

#1 Updated by Yui NARUSE over 3 years ago

  • Status changed from Open to Closed

Committed in r34362.

Also available in: Atom PDF