Mercurial > hg
comparison tests/blackbox-readonly-dispatch.py @ 37945:bfe8ef6e370e
sshserver: redirect stdin/stdout early and use duplicated streams
This is what we achieved with hook.redirect(True) plus ui.fout = ui.ferr.
The hook.redirect() function can't be completely removed yet since hgweb
still depends on it. I'm not sure if it is necessary for WSGI servers. CGI
needs it, but does WSGI communicate over stdin/stdout channels?
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 25 Mar 2018 16:47:33 +0900 |
parents | f4a508f4ea87 |
children | c93d046d4300 |
comparison
equal
deleted
inserted
replaced
37944:dc1ed7fe33e4 | 37945:bfe8ef6e370e |
---|