diff --git a/scapy/layers/http.py b/scapy/layers/http.py index c0eb9aa23c5..394d220e4fd 100644 --- a/scapy/layers/http.py +++ b/scapy/layers/http.py @@ -1173,6 +1173,10 @@ def SERVE(self, pkt=None): else: self.vprint("%s" % pkt.summary()) + @ATMT.eof(SERVE) + def serve_eof(self): + raise self.CLOSED() + @ATMT.receive_condition(SERVE) def new_request(self, pkt): raise self.SERVE(pkt)