Project

General

Profile

Actions

Feature #5460

closed

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

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

Status:
Closed
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 [ruby-list:48467] thread.

Regards,


Files

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

Updated by naruse (Yui NARUSE) almost 12 years ago

  • Status changed from Open to Closed

Committed in r34362.

Actions

Also available in: Atom PDF

Like0
Like0