POCO1.6 Sample EchoServer BUG

Feedback on the POCO Community website.
hitxp
Posts: 1
Joined: 01 Feb 2015, 11:46

POCO1.6 Sample EchoServer BUG

Postby hitxp » 01 Feb 2015, 11:56

in source file "poco-1.6.0/Net/samples/EchoServer/src/EchoServer.cpp"
line 119 "_fifoIn.drain(_fifoOut.write(_fifoIn.buffer()));"
I believe it should be changed to "_fifoIn.drain(_fifoOut.write(_fifoIn.buffer(), fifoIn.used()));" to avoid copying the whole buffer which will lead to a bug.

alex
Posts: 1375
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: POCO1.6 Sample EchoServer BUG

Postby alex » 04 Feb 2015, 04:19

Fixed for 1.6.1, thanks.


Return to “Site Feedback”

Who is online

Users browsing this forum: No registered users and 1 guest

cron