Project

General

Profile

Feature #5460

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

Added by nazy (Hiroki Najima) almost 6 years ago. Updated over 5 years ago.

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

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 (987 Bytes) http.rb.patch nazy (Hiroki Najima), 10/18/2011 06:20 PM

History

#1 [ruby-core:43744] Updated by naruse (Yui NARUSE) over 5 years ago

  • Status changed from Open to Closed

Committed in r34362.

Also available in: Atom PDF