[MEDIUM] use buffer_check_timeouts instead of stream_sock_check_timeouts()
It's more appropriate to use buffer_check_timeouts() to check for buffer
timeouts and si->shutw/shutr to shutdown the stream interfaces.
diff --git a/include/types/stream_interface.h b/include/types/stream_interface.h
index cd7fb70..ba8d7a7 100644
--- a/include/types/stream_interface.h
+++ b/include/types/stream_interface.h
@@ -62,6 +62,7 @@
void *owner; /* generally a (struct task*) */
int fd; /* file descriptor for a stream driver when known */
unsigned int exp; /* wake up time for connect, queue, turn-around, ... */
+ int (*shutr)(struct stream_interface *); /* shutr function */
int (*shutw)(struct stream_interface *); /* shutw function */
struct buffer *ib, *ob; /* input and output buffers */
unsigned int err_type; /* first error detected, one of SI_ET_* */