[New-bugs-announce] [issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header
report at bugs.python.org
Thu Aug 28 01:43:47 CEST 2008
New submission from Yang Zhao <yang at yangman.ca>:
send_header() in BaseHTTPRequestHandler currently does a write to socket
every time send_header() is called. This results in excessive number of
TCP packets being regenerated. Ideally, as much of the HTTP packet is
buffered as possible, but, at minimum, the header should be sent with a
single write as there is a convenient end_header() functional available.
Behaviour is observed under python 2.5, but the related code looks
identical in SVN trunk.
Will contribute patch if request is deemed reasonable but no one is
available to work on it; I just need a few days.
components: Library (Lib)
title: BaseHTTPRequestHandler innefficient when sending HTTP header
versions: Python 2.5
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce