Opened 9 years ago

Closed 9 years ago

#9090 closed Bugs (duplicate)

sometimes got error (End of File) when recv a large packet (vc2012)

Reported by: anonymous Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.54.0 Severity: Problem
Keywords: Cc:

Description

boost 1.54 , vc2012 Client send a large packet to server in a short time ( for example , send 1M bytes in one send function). If server bind serval threads to one io_server (just like sample http server 3) , server would got error (End of file ) by change before received all bytes . I tested same case at boost 1.48. It's ok. And, If I only bind one thread. it's ok too.

Change History (4)

comment:1 by anonymous, 9 years ago

Sorry, I forget to change the component to "ASIO".

comment:2 by viboes, 9 years ago

Component: Noneasio
Owner: set to chris_kohlhoff

comment:3 by smueller@…, 9 years ago

This appears to be the same issue as described here: https://svn.boost.org/trac/boost/ticket/9091 . The submitter of that bug also attached a patch that worked for me when I was dealing with a problem that had the same root cause.

Last edited 9 years ago by viboes (previous) (diff)

comment:4 by viboes, 9 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.