Bug 434555 - Fix payload assignment for messages.
Summary: Fix payload assignment for messages.
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Paho (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Andrew Banks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-09 17:33 EDT by Philip Matura CLA
Modified: 2016-02-05 11:15 EST (History)
1 user (show)

See Also:


Attachments
Proposed patch. (455 bytes, application/octet-stream)
2014-05-09 17:33 EDT, Philip Matura CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Matura CLA 2014-05-09 17:33:42 EDT
Created attachment 242915 [details]
Proposed patch.

Right now message.payload.length returns an inappropriate lenght if more than one message is parsed in one call.
Comment 1 Al Stockdill-Mander CLA 2014-07-09 09:16:31 EDT
This was fixed in the develop branch in March by Nick; http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.javascript.git/commit/?h=develop&id=4798ac2daadef2d9de09ae478476a279d1d09bce