Skip to content
Snippets Groups Projects
Commit d343806d authored by Matt Mackall's avatar Matt Mackall
Browse files

http2: mark experimental and developer options

parent dede675d
No related branches found
No related tags found
No related merge requests found
......@@ -126,6 +126,7 @@
self.ui = ui
self.pwmgr = pwmgr
self._connections = {}
# developer config: ui.http2debuglevel
loglevel = ui.config('ui', 'http2debuglevel', default=None)
if loglevel and not _configuredlogging:
_configuredlogging = True
......
......@@ -469,6 +469,7 @@
construct an opener suitable for urllib2
authinfo will be added to the password manager
'''
# experimental config: ui.usehttp2
if ui.configbool('ui', 'usehttp2', False):
handlers = [httpconnectionmod.http2handler(ui, passwordmgr(ui))]
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment