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

Commit dbd4351

Browse files
authored
v1.3.1 not to reconnect after connected
### Releases v1.3.1 1. Not try to reconnect to the same host:port after connected. Check [setReuse feature #12](khoih-prog/AsyncHTTPSRequest_Generic#12) 2. Update `Packages' Patches`
1 parent 4c5e4f1 commit dbd4351

File tree

22 files changed

+97
-61
lines changed

22 files changed

+97
-61
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-
* `ArduinoCore-mbed` Core Version (e.g. `ArduinoCore-mbed` mbed_portenta core v3.1.1)
18+
* `ArduinoCore-mbed` Core Version (e.g. `ArduinoCore-mbed` mbed_portenta core v3.3.0)
1919
* `Portenta_H7` Board type (e.g. Portenta_H7 Rev2 ABX00042, etc.)
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-
`ArduinoCore-mbed` mbed_portenta core v3.1.1
31+
`ArduinoCore-mbed` mbed_portenta core v3.3.0
3232
Portenta_H7 Rev2 ABX00042
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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
## Table of Contents
1212

1313
* [Changelog](#changelog)
14+
* [Releases v1.3.1](#releases-v131)
1415
* [Releases v1.3.0](#releases-v130)
1516
* [Releases v1.2.0](#releases-v120)
1617
* [Releases v1.1.0](#releases-v110)
@@ -21,6 +22,11 @@
2122

2223
## Changelog
2324

25+
### Releases v1.3.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+
2. Update `Packages' Patches`
29+
2430
### Releases v1.3.0
2531

2632
1. Fix long timeout if using `IPAddress`

examples/Ethernet/AsyncCustomHeader/AsyncCustomHeader.ino

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

2020
#include "defines.h"
2121

22-
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN_TARGET "Portenta_H7_AsyncHTTPRequest v1.3.0"
23-
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN 1003000
22+
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN_TARGET "Portenta_H7_AsyncHTTPRequest v1.3.1"
23+
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN 1003001
2424

2525
// Select a test server address
2626
//char GET_ServerAddress[] = "192.168.2.110/";

examples/Ethernet/AsyncDweetGet/AsyncDweetGet.ino

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

3131
#include "defines.h"
3232

33-
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN_TARGET "Portenta_H7_AsyncHTTPRequest v1.3.0"
34-
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN 1003000
33+
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN_TARGET "Portenta_H7_AsyncHTTPRequest v1.3.1"
34+
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN 1003001
3535

3636
// Select a test server address
3737
const char GET_ServerAddress[] = "dweet.io";

examples/Ethernet/AsyncDweetPost/AsyncDweetPost.ino

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

2525
#include "defines.h"
2626

27-
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN_TARGET "Portenta_H7_AsyncHTTPRequest v1.3.0"
28-
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN 1003000
27+
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN_TARGET "Portenta_H7_AsyncHTTPRequest v1.3.1"
28+
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN 1003001
2929

3030
// Select a test server address
3131
const char POST_ServerAddress[] = "dweet.io";

examples/Ethernet/AsyncHTTPRequest/AsyncHTTPRequest.ino

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

4444
#include "defines.h"
4545

46-
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN_TARGET "Portenta_H7_AsyncHTTPRequest v1.3.0"
47-
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN 1003000
46+
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN_TARGET "Portenta_H7_AsyncHTTPRequest v1.3.1"
47+
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN 1003001
4848

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

examples/Ethernet/AsyncSimpleGET/AsyncSimpleGET.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 PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN_TARGET "Portenta_H7_AsyncHTTPRequest v1.3.0"
25-
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN 1003000
24+
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN_TARGET "Portenta_H7_AsyncHTTPRequest v1.3.1"
25+
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN 1003001
2626

2727
// Select a test server address
2828
//char GET_ServerAddress[] = "ipv4bot.whatismyipaddress.com/";

examples/Ethernet/AsyncWebClientRepeating/AsyncWebClientRepeating.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 PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN_TARGET "Portenta_H7_AsyncHTTPRequest v1.3.0"
25-
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN 1003000
24+
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN_TARGET "Portenta_H7_AsyncHTTPRequest v1.3.1"
25+
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN 1003001
2626

2727
// Select a test server address
2828
const char GET_ServerAddress[] = "arduino.tips";

examples/WiFi/AsyncCustomHeader/AsyncCustomHeader.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 PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN_TARGET "Portenta_H7_AsyncHTTPRequest v1.3.0"
25-
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN 1003000
24+
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN_TARGET "Portenta_H7_AsyncHTTPRequest v1.3.1"
25+
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN 1003001
2626

2727
// Select a test server address
2828
//char GET_ServerAddress[] = "192.168.2.110/";

examples/WiFi/AsyncDweetGet/AsyncDweetGet.ino

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

3131
#include "defines.h"
3232

33-
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN_TARGET "Portenta_H7_AsyncHTTPRequest v1.3.0"
34-
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN 1003000
33+
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN_TARGET "Portenta_H7_AsyncHTTPRequest v1.3.1"
34+
#define PORTENTA_H7_ASYNC_HTTP_REQUEST_VERSION_MIN 1003001
3535

3636
// Select a test server address
3737
const char GET_ServerAddress[] = "dweet.io";

0 commit comments

Comments
 (0)