[Libwebsockets] lws_remaining_packet_payload not return zero
andy at warmcat.com
Tue Nov 8 07:19:43 CET 2016
On Tue, 2016-11-08 at 10:35 +0530, techi eth wrote:
> Is lws_remaining_packet_payload work as mentioned in document ?
> I am facing issue while using this api.I was trying to send 1650 byte
> data & i have configured rx buffer to 1000.On Receive i was getting
> len=1000 after that if i call lws_remaining_packet_payload then once
> i am getting 650 & getting forever.
The remaining 650 never comes? Or it comes
and lws_remaining_packet_payload still says 650 more to come?
Is it client or server?
> I am on below commit.
> Uri = "git://github.com/warmcat/libwebsockets.git;protocol=https"
> Commit = "c15714f35a0e059ae33c1959f4059967e04b71d2"
That's just behind an important security fix
at a496700b3a67ccb494385bfb22ebab0027af6e60... you should update (but I
don't think it will affect lws_remaining_packet_payload).
> Libwebsockets mailing list
> Libwebsockets at ml.libwebsockets.org
More information about the Libwebsockets