From: "naruse (Yui NARUSE)" Date: 2012-03-27T23:54:52+09:00 Subject: [ruby-core:43744] [ruby-trunk - Feature #5460][Closed] Improve "CONNECT" code in net/http. (patch inclulded) Issue #5460 has been updated by naruse (Yui NARUSE). Status changed from Open to Closed Committed in r34362. ---------------------------------------- Feature #5460: Improve "CONNECT" code in net/http. (patch inclulded) https://bugs.ruby-lang.org/issues/5460#change-25252 Author: nazy (Hiroki Najima) Status: Closed Priority: Normal Assignee: Category: lib Target version: 2.0.0 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, -- http://bugs.ruby-lang.org/