зеркало из https://github.com/mozilla/gecko-dev.git
dedc7a9acb
Add EFAServer, Nestscape Enterprise 4/5/6, and Weblogic <=6 to server pipeline blacklist, joining iis/4, iis/5, and nses/3. The previous code did 3 strcasestr()s on every http transaction to check the old blacklist - it did that even if pipelining was configured off. The new code creates indexes to the lookups according to the first char and changes the comparison to straight strncmp()s which are totally fine for finding these signatures... Servers that begin with A don't need any string operations now, and even servers that begin with M have gone from 3 strcasestr()s to 2 strcncmp()s which is definitely better. |
||
---|---|---|
.. | ||
about | ||
data | ||
device | ||
file | ||
ftp | ||
http | ||
res | ||
viewsource | ||
Makefile.in |