~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 3945.1.6.

  • Committer: Vincent Ladeuil
  • Date: 2009-01-29 16:54:58 UTC
  • mto: (3982.1.1 bzr.integration)
  • mto: This revision was merged to the branch mainline in revision 3983.
  • Revision ID: v.ladeuil+lp@free.fr-20090129165458-o52vbf2nl4dxadoc
Fix debug handling for pycurl and implement pycurl http activity
reporting at socket level.

* bzrlib/transport/http/_pycurl.py:
(PyCurlTransport._debug_cb): Two birds with one stone: correctly
handle the debug traces with mutter (no more stderr pollution !)
and report activity for all the transmitted headers and data in
both directions.
(PyCurlTransport._set_curl_options): Setup a pycurl debug callback
for both activity reporting and http debug flag handling.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: