Show More
@@ -126,6 +126,7 b' class http2handler(urllib2.HTTPHandler, ' | |||
|
126 | 126 | self.ui = ui |
|
127 | 127 | self.pwmgr = pwmgr |
|
128 | 128 | self._connections = {} |
|
129 | # developer config: ui.http2debuglevel | |
|
129 | 130 | loglevel = ui.config('ui', 'http2debuglevel', default=None) |
|
130 | 131 | if loglevel and not _configuredlogging: |
|
131 | 132 | _configuredlogging = True |
@@ -469,6 +469,7 b' def opener(ui, authinfo=None):' | |||
|
469 | 469 | construct an opener suitable for urllib2 |
|
470 | 470 | authinfo will be added to the password manager |
|
471 | 471 | ''' |
|
472 | # experimental config: ui.usehttp2 | |
|
472 | 473 | if ui.configbool('ui', 'usehttp2', False): |
|
473 | 474 | handlers = [httpconnectionmod.http2handler(ui, passwordmgr(ui))] |
|
474 | 475 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now