Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit e860ca6

Browse files
authored
v1.2.1 to fix bug of wrong reqStates
### Release v1.9.1 1. Fix bug of wrong `reqStates`. Check [Release 1.9 breakes previously running code #39](khoih-prog/AsyncHTTPRequest_Generic#39) and [Callback behaviour is buggy (ESP8266) #43](khoih-prog/AsyncHTTPRequest_Generic#43) 2. Optional larger `DEFAULT_RX_TIMEOUT` from default 3s, for slower networks
1 parent 711a420 commit e860ca6

File tree

13 files changed

+73
-65
lines changed

13 files changed

+73
-65
lines changed

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
* [Table of contents](#table-of-contents)
1515
* [Changelog](#changelog)
16+
* [Releases v1.9.1](#releases-v191)
1617
* [Releases v1.9.0](#releases-v190)
1718
* [Releases v1.8.1](#releases-v181)
1819
* [Releases v1.8.0](#releases-v180)
@@ -23,6 +24,11 @@
2324

2425
## Changelog
2526

27+
### Release v1.9.1
28+
29+
1. Fix bug of wrong `reqStates`. Check [Release 1.9 breakes previously running code #39](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/issues/39) and [Callback behaviour is buggy (ESP8266) #43](https://github.com/khoih-prog/AsyncHTTPRequest_Generic/issues/43)
30+
2. Optional larger `DEFAULT_RX_TIMEOUT` from default 3s, for slower networks
31+
2632
### Release v1.9.0
2733

2834
1. Fix bug.

examples/AsyncCustomHeader/AsyncCustomHeader.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
//char GET_ServerAddress[] = "192.168.2.110/";
2020
char GET_ServerAddress[] = "http://worldtimeapi.org/api/timezone/America/Toronto.txt";
2121

22-
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN_TARGET "AsyncHTTPRequest_Teensy41 v1.9.0"
23-
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1009000
22+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN_TARGET "AsyncHTTPRequest_Teensy41 v1.9.1"
23+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1009001
2424

2525
// Level from 0-4
2626
#define ASYNC_HTTP_DEBUG_PORT Serial

examples/AsyncDweetGet/AsyncDweetGet.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ const char GET_ServerAddress[] = "dweet.io";
3030
// use your own thing name here
3131
String dweetName = "/dweet/for/currentSecond?second=";
3232

33-
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN_TARGET "AsyncHTTPRequest_Teensy41 v1.9.0"
34-
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1009000
33+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN_TARGET "AsyncHTTPRequest_Teensy41 v1.9.1"
34+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1009001
3535

3636
// Level from 0-4
3737
#define ASYNC_HTTP_DEBUG_PORT Serial

examples/AsyncDweetPost/AsyncDweetPost.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ const char POST_ServerAddress[] = "dweet.io";
2424
// use your own thing name here
2525
String dweetName = "/dweet/for/pinA0-Read?";
2626

27-
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN_TARGET "AsyncHTTPRequest_Teensy41 v1.9.0"
28-
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1009000
27+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN_TARGET "AsyncHTTPRequest_Teensy41 v1.9.1"
28+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1009001
2929

3030
// Level from 0-4
3131
#define ASYNC_HTTP_DEBUG_PORT Serial

examples/AsyncHTTPRequest/AsyncHTTPRequest.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737

3838
#include "defines.h"
3939

40-
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN_TARGET "AsyncHTTPRequest_Teensy41 v1.9.0"
41-
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1009000
40+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN_TARGET "AsyncHTTPRequest_Teensy41 v1.9.1"
41+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1009001
4242

4343
// Level from 0-4
4444
#define ASYNC_HTTP_DEBUG_PORT Serial

examples/AsyncSimpleGET/AsyncSimpleGET.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
//char GET_ServerAddress[] = "ipv4bot.whatismyipaddress.com/";
2020
char GET_ServerAddress[] = "http://worldtimeapi.org/api/timezone/America/Toronto.txt";
2121

22-
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN_TARGET "AsyncHTTPRequest_Teensy41 v1.9.0"
23-
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1009000
22+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN_TARGET "AsyncHTTPRequest_Teensy41 v1.9.1"
23+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1009001
2424

2525
// Level from 0-4
2626
#define ASYNC_HTTP_DEBUG_PORT Serial

examples/multiFileProject/multiFileProject.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
#error Only Teensy 4.1 supported
2222
#endif
2323

24-
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN_TARGET "AsyncHTTPRequest_Teensy41 v1.9.0"
25-
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1009000
24+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN_TARGET "AsyncHTTPRequest_Teensy41 v1.9.1"
25+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1009001
2626

2727
// Level from 0-4
2828
#define ASYNC_HTTP_DEBUG_PORT Serial

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"AsyncHTTPRequest_Teensy41",
3-
"version": "1.9.0",
3+
"version": "1.9.1",
44
"description":"Simple Async HTTP Request library, supporting GET, POST, PUT, PATCH, DELETE and HEAD, on top of Teensy41_AsyncTCP for Teensy 4.1 using QNEthernet. This library is one of the current or future Async libraries to support Teensy 4.1 using QNEthernet, such as AsyncHTTPRequest_Generic, AsyncHTTPSRequest_Generic, AsyncMQTT_Generic, Teensy41_AsyncWebServer, Teensy41_AsyncUDP, Teensy41_AsyncDNSServer, AsyncHTTPRequest_Teensy41_SSL, etc.",
55
"keywords":"communication, async, tcp, http, async-tcp, async-http, teensy, teensy41, teensy-41, qnethernet, lwip",
66
"authors": [

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=AsyncHTTPRequest_Teensy41
2-
version=1.9.0
2+
version=1.9.1
33
author=Bob Lemaire, Khoi Hoang <khoih.prog@gmail.com>
44
maintainer=Khoi Hoang <khoih.prog@gmail.com>
55
sentence=Simple Async HTTP Request library, supporting GET, POST, PUT, PATCH, DELETE and HEAD, on top of Teensy41_AsyncTCP for Teensy 4.1 using QNEthernet.

src/AsyncHTTPRequest_Teensy41.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,16 @@
2020
You should have received a copy of the GNU General Public License along with this program.
2121
If not, see <https://www.gnu.org/licenses/>.
2222
23-
Version: 1.9.0
23+
Version: 1.9.1
2424
2525
Version Modified By Date Comments
2626
------- ----------- ---------- -----------
2727
1.7.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2828
Bump up version to v1.7.1 to sync with AsyncHTTPRequest_Generic v1.7.1
2929
1.8.0 K Hoang 01/09/2022 Fix bug. Improve debug messages. Optimize code
3030
1.8.1 K Hoang 18/10/2022 Not try to reconnect to the same host:port after connected
31-
1.9.0 K Hoang 21/10/2022 Fix bug. Clean up
31+
1.9.0 K Hoang 21/10/2022 Fix bug. Clean up
32+
1.9.1 K Hoang 22/10/2022 Fix bug of wrong reqStates
3233
*****************************************************************************************************************************/
3334

3435
#pragma once

0 commit comments

Comments
 (0)