2013-12-15 01:43:16 +00:00
|
|
|
import time
|
|
|
|
from libmproxy.script import concurrent
|
|
|
|
|
2014-09-05 13:16:20 +00:00
|
|
|
|
2014-09-08 14:02:31 +00:00
|
|
|
@concurrent # Remove this and see what happens
|
2013-12-15 01:43:16 +00:00
|
|
|
def request(context, flow):
|
|
|
|
print "handle request: %s%s" % (flow.request.host, flow.request.path)
|
|
|
|
time.sleep(5)
|
2014-09-05 13:16:20 +00:00
|
|
|
print "start request: %s%s" % (flow.request.host, flow.request.path)
|