File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919from lib .core .revision import getRevisionNumber
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.0.5.32 "
22+ VERSION = "1.0.5.33 "
2323REVISION = getRevisionNumber ()
2424STABLE = VERSION .count ('.' ) <= 2
2525VERSION_STRING = "sqlmap/%s#%s" % (VERSION , "stable" if STABLE else "dev" )
Original file line number Diff line number Diff line change @@ -373,6 +373,9 @@ def getPage(**kwargs):
373373 if boundary :
374374 headers [HTTP_HEADER .CONTENT_TYPE ] = "%s; boundary=%s" % (headers [HTTP_HEADER .CONTENT_TYPE ], boundary )
375375
376+ if conf .keepAlive :
377+ headers [HTTP_HEADER .CONNECTION ] = "keep-alive"
378+
376379 # Reset header values to original in case of provided request file
377380 if target and conf .requestFile :
378381 headers = OrderedDict (conf .httpHeaders )
You can’t perform that action at this time.
0 commit comments