We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If SIGINT is thrown it does not get handled properly.
Traceback (most recent call last): File "/Users/jkv/virtualenvs/conpot/bin/conpot", line 7, in <module> execfile(__file__) File "/Users/jkv/repos/conpot/bin/conpot", line 122, in <module> main() File "/Users/jkv/repos/conpot/bin/conpot", line 107, in main servers.append(gevent.spawn(snmp_server.start())) File "/Users/jkv/repos/conpot/conpot/snmp_server.py", line 47, in start self.snmp_server.serve_forever() File "/Users/jkv/repos/conpot/conpot/modules/snmp_command_responder.py", line 170, in serve_forever self.snmpEngine.transportDispatcher.serve_forever() File "/Users/jkv/virtualenvs/conpot/lib/python2.7/site-packages/gevent/baseserver.py", line 190, in serve_forever self._stopped_event.wait() File "/Users/jkv/virtualenvs/conpot/lib/python2.7/site-packages/gevent/event.py", line 74, in wait result = get_hub().switch() File "/Users/jkv/virtualenvs/conpot/lib/python2.7/site-packages/gevent/hub.py", line 164, in switch return greenlet.switch(self) KeyboardInterrupt
The text was updated successfully, but these errors were encountered:
Heh, that worked for me...
Sorry, something went wrong.
Doesn't this work?
try: main() except KeyboardInterrupt: print "bye"
That would work yes, but i would like to ensure that the greenlets has a all nice and cosy shutdown. Just figured the problem... committing now...
e306bc8
Merge pull request #34 from mushorg/master
bb9855b
sync forks
Merge pull request mushorg#34 from mushorg/master
34c552a
No branches or pull requests
If SIGINT is thrown it does not get handled properly.
The text was updated successfully, but these errors were encountered: