From: Hiroki Najima Date: 2011-10-18T18:20:54+09:00 Subject: [ruby-core:40201] [Ruby 1.9 - Feature #5460][Open] Improve "CONNECT" code in net/http. (patch inclulded) Issue #5460 has been reported by Hiroki Najima. ---------------------------------------- Feature #5460: Improve "CONNECT" code in net/http. (patch inclulded) http://redmine.ruby-lang.org/issues/5460 Author: Hiroki Najima Status: Open Priority: Normal Assignee: Category: lib Target version: 1.9.x 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://redmine.ruby-lang.org