Commit e4e72752 authored by Denis Bilenko's avatar Denis Bilenko

remove start() method from gevent.core.http (it did not do anything useful)

parent 35e8b126
......@@ -503,12 +503,6 @@ cdef class http:
if res:
raise RuntimeError("evhttp_accept_socket(%s) returned %s" % (fd, res))
def start(cls, char* address='127.0.0.1', int port=80):
#cdef evhttp* obj = evhttp_start(address, port)
#if obj:
# return cls(<size_t>obj)
raise RuntimeError('evhttp_start failed')
def set_cb(self, char* path, object callback):
cdef res = EVHTTP_SET_CB(self.__obj, path, _http_cb_handler, <void *>callback)
if res == 0:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment