Commits

Ginés Martínez Sánchez committed 841127b Draft

developing http server

Comments (0)

Files changed (1)

ginsfsm/protocols/http/server/c_http_clisrv.py

     response.service()  # send response to client
     self.responding_request = None
 
+    if response.close_on_finish:
+        self.clear_request_queue()
+        return
+
     # pull the request queue
     self.post_event(self, 'EV_DEQUEUE_REQUEST')