This commit is contained in:
Miroslav Stampar
2016-10-24 23:29:18 +02:00
parent d2bbe80455
commit 25c34c7728
3 changed files with 6 additions and 5 deletions

View File

@@ -1792,9 +1792,10 @@ def _dirtyPatches():
Place for "dirty" Python related patches
"""
httplib._MAXLINE = 1 * 1024 * 1024 # to accept overly long result lines (e.g. SQLi results in HTTP header responses)
httplib._MAXLINE = 1 * 1024 * 1024 # accept overly long result lines (e.g. SQLi results in HTTP header responses)
from thirdparty.wininetpton import win_inet_pton
if IS_WIN:
from thirdparty.wininetpton import win_inet_pton # add support for inet_pton() on Windows OS
def _purgeOutput():
"""