Mercurial > hg
diff contrib/Makefile.python @ 26211:ea489d94e1dc
hgweb: assign ctype to requestcontext
The very existence of ctype is a bit hacky. But we roll with it.
Before this patch, there was possibly a race condition between 2
threads handling file requests: 1 thread could set the ctype and
another serving a different file would read and use that potentially
wrong ctype.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 22 Aug 2015 17:08:37 -0700 |
parents | c0c4713c3010 |
children | b000d34f863f |