Skip to content

Commit

Permalink
v3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Apr 27, 2024
1 parent a3cbcdb commit 22ba312
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ The base classes on which everything else is built. They expose all possible sce
- Reverted back `library.properties` for Arduino IDE users
- Arduino 3 / ESP-IDF 5 compatibility
- Changed lib name: `AsyncTCP` -> `Async TCP`
- Point to `mathieucarbou/Async TCP @ ^3.1.0`
- Point to `mathieucarbou/Async TCP @ ^3.1.1`
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Async TCP",
"version": "3.1.0",
"version": "3.1.1",
"description": "Asynchronous TCP Library for ESP32",
"keywords": "async,tcp",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Async TCP
version=3.1.0
version=3.1.1
author=Me-No-Dev
maintainer=Mathieu Carbou <[email protected]>
sentence=Async TCP Library for ESP32
Expand Down
4 changes: 2 additions & 2 deletions src/AsyncTCP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,7 @@ void AsyncClient::_error(int8_t err) {
tcp_err(_pcb, NULL);
tcp_poll(_pcb, NULL, 0);
}
_free_closed_slot();
_pcb = NULL;
}
if(_error_cb) {
Expand Down Expand Up @@ -1005,8 +1006,7 @@ int8_t AsyncClient::_recv(tcp_pcb* pcb, pbuf* pb, int8_t err) {
}
pbuf_free(b);
}
err = _tcp_recved(pcb, _closed_slot, total);
return err;
return _tcp_recved(pcb, _closed_slot, total);
}

int8_t AsyncClient::_poll(tcp_pcb* pcb){
Expand Down
4 changes: 2 additions & 2 deletions src/AsyncTCP.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
#ifndef ASYNCTCP_H_
#define ASYNCTCP_H_

#define ASYNCTCP_VERSION "3.1.0"
#define ASYNCTCP_VERSION "3.1.1"
#define ASYNCTCP_VERSION_MAJOR 3
#define ASYNCTCP_VERSION_MINOR 1
#define ASYNCTCP_VERSION_REVISION 0
#define ASYNCTCP_VERSION_REVISION 1
#define ASYNCTCP_FORK_mathieucarbou

#include "IPAddress.h"
Expand Down

0 comments on commit 22ba312

Please sign in to comment.