Hello, everybody.
I'm developing an asynchronous interface for python on the "picoev" event-library, a tiny event library (epoll, kqueue and select).
I've created a source repository on google code here.
In the test directory you can find a test i'm doing with a webserver (very simple) to test the interface capabilities.
The server runs but doesn't work as expected: the rw_callback doesn't send back to the client any response until the TIMEOUT event (that closes the client socket).
On another request the server crashes with the following error: Exception socket.error: error(9, 'Bad file descriptor') in <refcnt 0 at 0xb77d3e9c> ignored
Segmentation fault
(i write it with PyErr_WriteUnra isable).
The methods of the Loop type are definied all in this file.
Can you help me?
I don't know what happens.
And if you are interested to help me with the project we could discuss about it and work togheter.
Thank you.
I'm developing an asynchronous interface for python on the "picoev" event-library, a tiny event library (epoll, kqueue and select).
I've created a source repository on google code here.
In the test directory you can find a test i'm doing with a webserver (very simple) to test the interface capabilities.
The server runs but doesn't work as expected: the rw_callback doesn't send back to the client any response until the TIMEOUT event (that closes the client socket).
On another request the server crashes with the following error: Exception socket.error: error(9, 'Bad file descriptor') in <refcnt 0 at 0xb77d3e9c> ignored
Segmentation fault
(i write it with PyErr_WriteUnra isable).
The methods of the Loop type are definied all in this file.
Can you help me?
I don't know what happens.
And if you are interested to help me with the project we could discuss about it and work togheter.
Thank you.