(websocket client) onProgressCallback not called for short messages on a websocket (fix #233)
This commit is contained in:
parent
029289413c
commit
2e3d625c1e
@ -1,6 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
All changes to this project will be documented in this file.
|
All changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## [10.1.1] - 2020-07-29
|
||||||
|
|
||||||
|
(websocket client) onProgressCallback not called for short messages on a websocket (fix #233)
|
||||||
|
|
||||||
## [10.1.0] - 2020-07-29
|
## [10.1.0] - 2020-07-29
|
||||||
|
|
||||||
(websocket client) heartbeat is not sent at the requested frequency (fix #232)
|
(websocket client) heartbeat is not sent at the requested frequency (fix #232)
|
||||||
|
@ -796,6 +796,11 @@ namespace ix
|
|||||||
if (wireSize < kChunkSize)
|
if (wireSize < kChunkSize)
|
||||||
{
|
{
|
||||||
success = sendFragment(type, true, message_begin, message_end, compress);
|
success = sendFragment(type, true, message_begin, message_end, compress);
|
||||||
|
|
||||||
|
if (onProgressCallback)
|
||||||
|
{
|
||||||
|
onProgressCallback(0, 1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define IX_WEBSOCKET_VERSION "10.1.0"
|
#define IX_WEBSOCKET_VERSION "10.1.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user