Opened 10 years ago

Closed 9 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:
Has a Patch: no Platform: All

Description

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

Change History (6)

comment:1 Changed 10 years ago by bga

Resolution: fixed
Status: newclosed

Fixed in hrev33437.

comment:2 Changed 9 years ago by phoudoin

Resolution: fixed
Status: closedreopened

comment:3 Changed 9 years ago by phoudoin

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 Changed 9 years ago by phoudoin

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 Changed 9 years ago by phoudoin

Blocking: 6282 added

comment:6 Changed 9 years ago by phoudoin

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