Skip to content

Commit

Permalink
add server.rst, change accepter to daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
devneal committed Dec 8, 2017
1 parent 629a2b0 commit 187f2b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions docs/source/tubes/server.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.. testsetup:: *

from pwnlib.tubes.server import server

:mod:`pwnlib.tubes.server` --- Server
==================================================

.. automodule:: pwnlib.tubes.server
:members:
2 changes: 1 addition & 1 deletion pwnlib/tubes/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def accepter():
self.connections_waiting.set()

self._accepter = context.Thread(target = accepter)
self._accepter.daemon = False
self._accepter.daemon = True
self._accepter.start()

def next_connection(self):
Expand Down

0 comments on commit 187f2b7

Please sign in to comment.