New submission from Vajrasky Kok:

./python Lib/wsgiref/simple_server.py 
Serving HTTP on 0.0.0.0 port 8000 ...
127.0.0.1 - - [14/Oct/2013 17:23:43] "GET /xyz?abc HTTP/1.1" 200 4510
sys:1: ResourceWarning: unclosed <socket.socket fd=4, family=2, type=1, 
proto=0, laddr=('0.0.0.0', 8000)>

Attached the patch to close the socket.

----------
components: Library (Lib)
files: close_server_in_wsgiref_demo.patch
keywords: patch
messages: 199858
nosy: vajrasky
priority: normal
severity: normal
status: open
title: Got resource warning when running wsgiref demo app
type: resource usage
versions: Python 3.4
Added file: http://bugs.python.org/file32111/close_server_in_wsgiref_demo.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19258>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to