Oskar Sandberg <md98-osa at nada.kth.se> wrote:
> It's not my area of experties (like if anything is) and I never got a
> straight answer out of anybody about choking the incoming connection. Is
> it a healthy thing to do? Will it overflow your OS buffers and screw with
> the machine in general or will TCP handle it graciously?

Well, TCP has a flow-control mechanism built into it -- it depends on how
your TCP stack is implemented, of course, but it strikes me that if your
application stops reading data out of a socket for a while and the OS
buffers fill up, the OS should stop sending ACKs back to the sender, in
which case the sender takes this as a signal to slow down.  If too much
time passes before starting to receive ACKs again, however, the sender will
close the connection.

Anyway, nothing an application does should be able to mess up the OS,
right?  (in the ideal world)

theo

_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to