Mercurial > public > mercurial-scm > hg
diff mercurial/hgweb/server.py @ 51696:7f0cb9ee0534
Backout accidental publication of a large range of revisions
I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Tue, 23 Jul 2024 10:02:46 +0200 |
parents | 493034cc3265 |
children | ca7bde5dbafb |
line wrap: on
line diff
--- a/mercurial/hgweb/server.py Mon Jul 22 16:49:38 2024 +0200 +++ b/mercurial/hgweb/server.py Tue Jul 23 10:02:46 2024 +0200 @@ -66,6 +66,7 @@ class _httprequesthandler(httpservermod.basehttprequesthandler): + url_scheme = b'http' @staticmethod @@ -357,6 +358,7 @@ class MercurialHTTPServer(_mixin, httpservermod.httpserver, object): + # SO_REUSEADDR has broken semantics on windows if pycompat.iswindows: allow_reuse_address = 0 @@ -394,6 +396,7 @@ def create_server(ui, app): + if ui.config(b'web', b'certificate'): handler = _httprequesthandlerssl else: