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

Commit 19ea1ad

Browse files
authored
v1.1.1 not to reconnect after connected
### Release v1.1.1 1. Not try to reconnect to the same host:port after connected. Check [setReuse feature #12](khoih-prog/AsyncHTTPSRequest_Generic#12)
1 parent 085399c commit 19ea1ad

File tree

16 files changed

+94
-63
lines changed

16 files changed

+94
-63
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
1515
Please ensure to specify the following:
1616

1717
* Arduino IDE version (e.g. 1.8.19) or Platform.io version
18-
* `RP2040` Core Version (e.g. RP2040 core v2.5.0)
18+
* `RP2040` Core Version (e.g. RP2040 core v2.6.1)
1919
* `RP2040` Board type (e.g. RASPBERRY_PI_PICO_W)
2020
* Contextual information (e.g. what you were trying to achieve)
2121
* Simplest possible steps to reproduce
@@ -28,13 +28,13 @@ Please ensure to specify the following:
2828

2929
```
3030
Arduino IDE version: 1.8.19
31-
RP2040 core v2.5.0
31+
RP2040 core v2.6.1
3232
RASPBERRY_PI_PICO_W Module
3333
OS: Ubuntu 20.04 LTS
34-
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
34+
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
3535
3636
Context:
37-
I encountered an endless loop while trying to connect to Local WiFi.
37+
I encountered a crash when using this library
3838
3939
Steps to reproduce:
4040
1. ...

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
## Table of Contents
1212

1313
* [Changelog](#changelog)
14+
* [Release v1.1.1](#Release-v111)
1415
* [Release v1.1.0](#Release-v110)
1516
* [Release v1.0.1](#Release-v101)
1617
* [Initial Release v1.0.0](#Initial-Release-v100)
@@ -20,6 +21,10 @@
2021

2122
## Changelog
2223

24+
### Release v1.1.1
25+
26+
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)
27+
2328
### Release v1.1.0
2429

2530
1. Fix long timeout if using `IPAddress`.

examples/AsyncCustomHeader/AsyncCustomHeader.ino

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

1919
#include "defines.h"
2020

21-
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN_TARGET "AsyncHTTPRequest_RP2040W v1.1.0"
22-
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN 1001000
21+
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN_TARGET "AsyncHTTPRequest_RP2040W v1.1.1"
22+
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN 1001001
2323

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

examples/AsyncDweetGet/AsyncDweetGet.ino

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

2828
#include "defines.h"
2929

30-
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN_TARGET "AsyncHTTPRequest_RP2040W v1.1.0"
31-
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN 1001000
30+
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN_TARGET "AsyncHTTPRequest_RP2040W v1.1.1"
31+
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN 1001001
3232

3333
// Level from 0-4
3434
#define ASYNC_HTTP_DEBUG_PORT Serial

examples/AsyncDweetPost/AsyncDweetPost.ino

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

2222
#include "defines.h"
2323

24-
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN_TARGET "AsyncHTTPRequest_RP2040W v1.1.0"
25-
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN 1001000
24+
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN_TARGET "AsyncHTTPRequest_RP2040W v1.1.1"
25+
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN 1001001
2626

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

examples/AsyncHTTPRequest/AsyncHTTPRequest.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040

4141
#include "defines.h"
4242

43-
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN_TARGET "AsyncHTTPRequest_RP2040W v1.1.0"
44-
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN 1001000
43+
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN_TARGET "AsyncHTTPRequest_RP2040W v1.1.1"
44+
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN 1001001
4545

4646
// Level from 0-4
4747
#define ASYNC_HTTP_DEBUG_PORT Serial
48-
#define _ASYNC_HTTP_LOGLEVEL_ 2
48+
#define _ASYNC_HTTP_LOGLEVEL_ 1
4949

5050
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
5151
#include <AsyncHTTPRequest_RP2040W.h> // https://github.com/khoih-prog/AsyncHTTPRequest_RP2040W

examples/AsyncSimpleGET/AsyncSimpleGET.ino

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

1919
#include "defines.h"
2020

21-
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN_TARGET "AsyncHTTPRequest_RP2040W v1.1.0"
22-
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN 1001000
21+
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN_TARGET "AsyncHTTPRequest_RP2040W v1.1.1"
22+
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN 1001001
2323

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

examples/AsyncWebClientRepeating/AsyncWebClientRepeating.ino

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

1919
#include "defines.h"
2020

21-
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN_TARGET "AsyncHTTPRequest_RP2040W v1.1.0"
22-
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN 1001000
21+
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN_TARGET "AsyncHTTPRequest_RP2040W v1.1.1"
22+
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN 1001001
2323

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

examples/multiFileProject/multiFileProject.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
#error For RASPBERRY_PI_PICO_W only
1616
#endif
1717

18-
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN_TARGET "AsyncHTTPRequest_RP2040W v1.1.0"
19-
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN 1001000
18+
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN_TARGET "AsyncHTTPRequest_RP2040W v1.1.1"
19+
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN 1001001
2020

2121
// Level from 0-4
2222
#define ASYNC_HTTP_DEBUG_PORT Serial

library.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "AsyncHTTPRequest_RP2040W",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"keywords": "communication, http, async, websocket, webserver, async-webserver, async-tcp, async-udp, async-websocket, async-http, ssl, tls, mbed, mbed-portenta, portenta-h7, portentah7, portenta-h7-m7, portenta-h7-m4, portentah7-m7, portentah7-m4, stm32h7",
55
"description": "Simple Async HTTP Request library, supporting GET, POST, PUT, PATCH, DELETE and HEAD, on top of AsyncTCP_RP2040W library for RASPBERRY_PI_PICO_W with CYW43439 WiFi. This library, which relies on AsyncTCP_RP2040W, is part of a series of advanced Async libraries, such as AsyncTCP_RP2040W, AsyncUDP_RP2040W, AsyncWebSockets_RP2040W, AsyncWebServer_RP2040W, AsyncHTTPRequest_RP2040W, AsyncHTTPSRequest_RP2040W, etc.",
66
"authors":
@@ -34,7 +34,7 @@
3434
{
3535
"owner": "khoih-prog",
3636
"name": "AsyncTCP_RP2040W",
37-
"version": "^1.0.0"
37+
"version": "^1.1.0"
3838
}
3939
],
4040
"license": "LGPL-3.0",

0 commit comments

Comments
 (0)