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

Commit 964b3b4

Browse files
authored
v1.8.1 not to reconnect after connected
### Releases v1.8.1 1. Not try to reconnect to the same host:port after connected. Check [setReuse feature #12](khoih-prog/AsyncHTTPSRequest_Generic#12)
1 parent 1e27e22 commit 964b3b4

File tree

15 files changed

+94
-57
lines changed

15 files changed

+94
-57
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ Arduino IDE version: 1.8.19
3232
Teensyduino core v1.57
3333
Teensy 4.1 using QNEthernet v0.15.0
3434
OS: Ubuntu 20.04 LTS
35-
Linux xy-Inspiron-3593 5.15.0-46-generic #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
35+
Linux xy-Inspiron-3593 5.15.0-50-generic #56~20.04.1-Ubuntu SMP Tue Sep 27 15:51:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
3636
3737
Context:
38-
I encountered an endless loop while trying to connect to Local WiFi.
38+
I encountered a crash when using this library
3939
4040
Steps to reproduce:
4141
1. ...

changelog.md

Lines changed: 5 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.8.1](#releases-v181)
1617
* [Releases v1.8.0](#releases-v180)
1718
* [Releases v1.7.1](#releases-v171)
1819

@@ -21,6 +22,10 @@
2122

2223
## Changelog
2324

25+
### Releases v1.8.1
26+
27+
1. Not try to reconnect to the same host:port after connected. Check [setReuse feature #12](https://github.com/khoih-prog/AsyncHTTPSRequest_Generic/issues/12)
28+
2429
### Releases v1.8.0
2530

2631
1. Fix long timeout if using bad `IPAddress`

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.8.0"
23-
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1008000
22+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN_TARGET "AsyncHTTPRequest_Teensy41 v1.8.1"
23+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1008001
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.8.0"
34-
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1008000
33+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN_TARGET "AsyncHTTPRequest_Teensy41 v1.8.1"
34+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1008001
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.8.0"
28-
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1008000
27+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN_TARGET "AsyncHTTPRequest_Teensy41 v1.8.1"
28+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1008001
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.8.0"
41-
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1008000
40+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN_TARGET "AsyncHTTPRequest_Teensy41 v1.8.1"
41+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1008001
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.8.0"
23-
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1008000
22+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN_TARGET "AsyncHTTPRequest_Teensy41 v1.8.1"
23+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1008001
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.8.0"
25-
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1008000
24+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN_TARGET "AsyncHTTPRequest_Teensy41 v1.8.1"
25+
#define ASYNC_HTTP_REQUEST_TEENSY41_VERSION_MIN 1008001
2626

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

library.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"AsyncHTTPRequest_Teensy41",
3-
"version": "1.8.0",
3+
"version": "1.8.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": [
@@ -25,8 +25,14 @@
2525
{
2626
"owner": "khoih-prog",
2727
"name": "Teensy41_AsyncTCP",
28-
"version": ">=1.0.0",
28+
"version": ">=1.1.0",
2929
"platforms": ["teensy", "avr"]
30+
},
31+
{
32+
"owner": "ssilverman",
33+
"name": "QNEthernet",
34+
"version": ">=0.15.0",
35+
"platforms": ["teensy"]
3036
}
3137
],
3238
"homepage": "https://github.com/khoih-prog/AsyncHTTPRequest_Teensy41",

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.8.0
2+
version=1.8.1
33
author=Bob Lemaire, Khoi Hoang <[email protected]>
44
maintainer=Khoi Hoang <[email protected]>
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.

0 commit comments

Comments
 (0)