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

Commit d75e5e2

Browse files
authored
v1.9.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 e860ca6 commit d75e5e2

File tree

9 files changed

+21
-3
lines changed

9 files changed

+21
-3
lines changed

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
### Release v1.9.1
2828

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)
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).
3030
2. Optional larger `DEFAULT_RX_TIMEOUT` from default 3s, for slower networks
3131

3232
### Release v1.9.0

examples/AsyncCustomHeader/AsyncCustomHeader.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ char GET_ServerAddress[] = "http://worldtimeapi.org/api/timezone/America/Toro
2929
// 600s = 10 minutes to not flooding, 60s in testing
3030
#define HTTP_REQUEST_INTERVAL_MS 60000 //600000
3131

32+
// Seconds for timeout, default is 3s
33+
#define DEFAULT_RX_TIMEOUT 10
34+
3235
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
3336
#include <AsyncHTTPRequest_Teensy41.h> // https://github.com/khoih-prog/AsyncHTTPRequest_Teensy41
3437

examples/AsyncDweetGet/AsyncDweetGet.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ String dweetName = "/dweet/for/currentSecond?second=";
4040
// 600s = 10 minutes to not flooding, 60s in testing
4141
#define HTTP_REQUEST_INTERVAL_MS 60000 //600000
4242

43+
// Seconds for timeout, default is 3s
44+
#define DEFAULT_RX_TIMEOUT 10
45+
4346
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
4447
#include <AsyncHTTPRequest_Teensy41.h> // https://github.com/khoih-prog/AsyncHTTPRequest_Teensy41
4548

examples/AsyncDweetPost/AsyncDweetPost.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ String dweetName = "/dweet/for/pinA0-Read?";
3434
// 600s = 10 minutes to not flooding, 60s in testing
3535
#define HTTP_REQUEST_INTERVAL_MS 60000 //600000
3636

37+
// Seconds for timeout, default is 3s
38+
#define DEFAULT_RX_TIMEOUT 10
39+
3740
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
3841
#include <AsyncHTTPRequest_Teensy41.h> // https://github.com/khoih-prog/AsyncHTTPRequest_Teensy41
3942

examples/AsyncHTTPRequest/AsyncHTTPRequest.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
// 600s = 10 minutes to not flooding, 60s in testing
4848
#define HTTP_REQUEST_INTERVAL_MS 60000 //600000
4949

50+
// Seconds for timeout, default is 3s
51+
#define DEFAULT_RX_TIMEOUT 10
52+
5053
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
5154
#include <AsyncHTTPRequest_Teensy41.h> // https://github.com/khoih-prog/AsyncHTTPRequest_Teensy41
5255

examples/AsyncSimpleGET/AsyncSimpleGET.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ char GET_ServerAddress[] = "http://worldtimeapi.org/api/timezone/America/Toro
2929
// 600s = 10 minutes to not flooding, 60s in testing
3030
#define HTTP_REQUEST_INTERVAL_MS 60000 //600000
3131

32+
// Seconds for timeout, default is 3s
33+
#define DEFAULT_RX_TIMEOUT 10
34+
3235
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
3336
#include <AsyncHTTPRequest_Teensy41.h> // https://github.com/khoih-prog/AsyncHTTPRequest_Teensy41
3437

examples/multiFileProject/multiFileProject.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
#define ASYNC_HTTP_DEBUG_PORT Serial
2929
#define _ASYNC_HTTP_LOGLEVEL_ 2
3030

31+
// Seconds for timeout, default is 3s
32+
#define DEFAULT_RX_TIMEOUT 10
33+
3134
#include "multiFileProject.h"
3235

3336
// Can be included as many times as necessary, without `Multiple Definitions` Linker Error

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name":"AsyncHTTPRequest_Teensy41",
33
"version": "1.9.1",
4-
"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.",
4+
"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": [
77
{

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name=AsyncHTTPRequest_Teensy41
22
version=1.9.1
33
author=Bob Lemaire, Khoi Hoang <khoih.prog@gmail.com>
44
maintainer=Khoi Hoang <khoih.prog@gmail.com>
5-
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.
5+
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
66
paragraph=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.
77
category=Communication
88
url=https://github.com/khoih-prog/AsyncHTTPRequest_Teensy41

0 commit comments

Comments
 (0)