]> granicus.if.org Git - esp-idf/commit
tcp_transport: modified ws_read to read payload directly to the read buffer and separ...
authorDavid Cermak <cermak@espressif.com>
Tue, 30 Apr 2019 09:41:39 +0000 (11:41 +0200)
committerDavid Cermak <cermak@espressif.com>
Mon, 27 May 2019 14:31:24 +0000 (16:31 +0200)
commitdb121a56e13b4b93b6bcc9217f7890bc4783cabd
treed516ae6ca682ea0554967f78611f9a46622f71c1
parent801f5d6e82e9205f8632d89c7306ef4242b06480
tcp_transport: modified ws_read to read payload directly to the read buffer and separately from header bytes

Previous version read all data to the buffer including header which reduced maximum payload read. This version uses a local array to receive header and reads payload bytes to the buffer
components/mqtt/esp-mqtt
components/tcp_transport/transport_ws.c