Hi,

I have a small problem regarding io_read_write function. It returns an
abstract_write * reference, instead of io_fd like io_read and io_write.

I need read/write access to the socket during tcp forward, _and_ I need to
access the io_fd structure as well (for accessing the want_read field)

Returning abstract_write makes life a bit simpler when opening connection,
but doesn't provide info in other cases. I would change it to return io_fd
*, and use io_fd->buffer->super to access the abstract_write returned now.

--- Bazsi

Reply via email to