Mark Wutzke points out that the comment in sk_proxy_set_frozen()
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 20 Jan 2004 19:30:41 +0000 (19:30 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 20 Jan 2004 19:30:41 +0000 (19:30 +0000)
commitd9d006d5c2265a2e7f177c776c5edb51f21cbc80
treec3455725066948356f15dd733ece90e992381460
parentdbe6c525a19dc7b52ff9f6bfb1f64da7579689d3
Mark Wutzke points out that the comment in sk_proxy_set_frozen()
states that plug_receive() may recurse back into
sk_proxy_set_frozen() again. Therefore, bufchain_consume() should
have been called _before_ calling plug_receive(), to prevent an
infinite loop overflowing the stack. I can't immediately figure out
under what circumstances this might happen, but it seems an
obviously sensible precaution.

git-svn-id: svn://svn.tartarus.org/sgt/putty@3741 cda61777-01e9-0310-a592-d414129be87e
proxy.c