mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-30 02:37:31 +02:00
Merge pull request #443 from gabsuren/websocket_1.2.1
bump(websocket): 1.2.0 -> 1.2.1
This commit is contained in:
@ -3,6 +3,6 @@ commitizen:
|
|||||||
bump_message: 'bump(websocket): $current_version -> $new_version'
|
bump_message: 'bump(websocket): $current_version -> $new_version'
|
||||||
pre_bump_hooks: python ../../ci/changelog.py esp_websocket_client
|
pre_bump_hooks: python ../../ci/changelog.py esp_websocket_client
|
||||||
tag_format: websocket-v$version
|
tag_format: websocket-v$version
|
||||||
version: 1.2.0
|
version: 1.2.1
|
||||||
version_files:
|
version_files:
|
||||||
- idf_component.yml
|
- idf_component.yml
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [1.2.1](https://github.com/espressif/esp-protocols/commits/websocket-v1.2.1)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- consider failure if return value of `esp_websocket_client_send_with_exact_opcode` less than 0 ([f523b4d](https://github.com/espressif/esp-protocols/commit/f523b4d))
|
||||||
|
- fix of return value for `esp_websocket_client_send_with_opcode` API ([ba33588](https://github.com/espressif/esp-protocols/commit/ba33588))
|
||||||
|
|
||||||
## [1.2.0](https://github.com/espressif/esp-protocols/commits/websocket-v1.2.0)
|
## [1.2.0](https://github.com/espressif/esp-protocols/commits/websocket-v1.2.0)
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
@ -1228,7 +1228,7 @@ int esp_websocket_client_send_with_opcode(esp_websocket_client_handle_t client,
|
|||||||
goto unlock_and_return;
|
goto unlock_and_return;
|
||||||
}
|
}
|
||||||
ret = esp_websocket_client_send_with_exact_opcode(client, opcode | WS_TRANSPORT_OPCODES_FIN, data, len, timeout);
|
ret = esp_websocket_client_send_with_exact_opcode(client, opcode | WS_TRANSPORT_OPCODES_FIN, data, len, timeout);
|
||||||
if (ret <= 0) {
|
if (ret < 0) {
|
||||||
ESP_LOGE(TAG, "Failed to send the buffer");
|
ESP_LOGE(TAG, "Failed to send the buffer");
|
||||||
goto unlock_and_return;
|
goto unlock_and_return;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: "1.2.0"
|
version: "1.2.1"
|
||||||
description: WebSocket protocol client for ESP-IDF
|
description: WebSocket protocol client for ESP-IDF
|
||||||
url: https://github.com/espressif/esp-protocols/tree/master/components/esp_websocket_client
|
url: https://github.com/espressif/esp-protocols/tree/master/components/esp_websocket_client
|
||||||
dependencies:
|
dependencies:
|
||||||
|
Reference in New Issue
Block a user