start refactoring tcp_info usage

This commit is contained in:
Roberto De Ioris
2012-12-21 11:50:05 +01:00
parent dda86dbc9c
commit 35566a8533
3 changed files with 24 additions and 16 deletions
-4
View File
@@ -175,11 +175,7 @@ char *uwsgi_encode_pydict(PyObject * pydict, uint16_t * size) {
PyObject *py_uwsgi_listen_queue(PyObject * self, PyObject * args) {
#ifdef __linux__
return PyInt_FromLong(uwsgi.shared->options[UWSGI_OPTION_BACKLOG_STATUS]);
#else
return NULL;
#endif
}
PyObject *py_uwsgi_close(PyObject * self, PyObject * args) {