|
ProxHTTPSProxyMII: Development
|
|
Jun. 16, 2014, 08:38 AM
Post: #37
|
|||
|
|||
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
(Jun. 16, 2014 02:37 AM)JJoe Wrote: "data" is request body and most of the time it is None provided the http method is not POST. Your code disable the connection reuse for most of the time, that might be the cause of the slow down. "r.data " is response body and "self.body_length" is its length. The code could be changed to Code: if self.body_length == 0:(Jun. 16, 2014 02:37 AM)JJoe Wrote: I'm seeing EOF errors with each "content-length: 0" response I am not sure if it helps but according to http://stackoverflow.com/questions/14102...-occurred, Let's give it a test by changing line 146 from Code: sslparams = dict(cert_reqs="REQUIRED", ca_certs="cacert.pem", ssl_version="SSLv23")to Code: sslparams = dict(cert_reqs="REQUIRED", ca_certs="cacert.pem", ssl_version="TLSv1")(Jun. 16, 2014 02:37 AM)JJoe Wrote: I see 'Content-Length' mentioned in proxytool.py but it will take some more study before I completely understand it. Persistent connection needs 'Content-Length' value to to indicate the transfer-length of the message-body. proxytool.py updates this header with the right value. |
|||
|
« Next Oldest | Next Newest »
|

Search
Member List
Calendar
Help





![[-]](images/ONi/collapse.gif)