durin42 added a comment.
In D7960#119477 <https://phab.mercurial-scm.org/D7960#119477>, @mharbison72 wrote: > In D7960#119446 <https://phab.mercurial-scm.org/D7960#119446>, @marmoute wrote: > >> (also, the double sending is very sad, could we have a small wireprotocol command dedicated at testing authentication first instead ?) > > Presumably, but IDK anything about the wire protocol, and the existing code would still be needed for the case where the server doesn't know about the command. I looked into that for the core wireproto years ago. The summary is basically "no, httplib is a very simple http client and not readily extended." If you want to do better, you're in the bad place of doing something like using libcurl in hg, which will be very complicated. :( REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7960/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7960 To: mharbison72, #hg-reviewers Cc: durin42, marmoute, mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel