Opened 15 years ago

Closed 14 years ago

#4724 closed bug (fixed)

BNetEndpoint sends the wrong amount of data when used with a BNetBuffer

Reported by: KonVex Owned by: nobody
Priority: normal Milestone: R1
Component: Network & Internet Version: R1/alpha1
Keywords: Cc:
Blocked By: #6282 Blocking:
Platform: All

Description

BNetEndpoint::Send() will always send the whole buffer, including any prereserved space.

Change History (6)

comment:1 by bga, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev33437.

comment:2 by phoudoin, 14 years ago

Resolution: fixed
Status: closedreopened

comment:3 by phoudoin, 14 years ago

The root issue is not in BNetEndpoint but in DynamicBuffer's Size() and BytesRemaining() methods: their semantic is broken with the API definition.

comment:4 by phoudoin, 14 years ago

Resolution: fixed
Status: reopenedclosed

Fixed in hrev37437. Yes, 4000 revisions later, no more, no less :-).

Thanks to Christophe Huriaux for spotting this one.

comment:5 by phoudoin, 14 years ago

Blocking: 6282 added

comment:6 by phoudoin, 14 years ago

Blocked By: 6282 added
Blocking: 6282 removed
Note: See TracTickets for help on using tickets.