Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb/request.py @ 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 | 461e7b700fdf |
children | 7c1b4840c2cd |
comparison
equal
deleted
inserted
replaced
26210:7c759f1a056f | 26211:ea489d94e1dc |
---|