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

Commit d312ad4

Browse files
authored
v1.2.2 default to reconnect to the same host:port
### Release v1.2.2 1. Default to reconnect to the same `host:port` after connected for new HTTP sites. Check [Host/Headers not always sent with 1.10.1 #44](khoih-prog/AsyncHTTPRequest_Generic#44) 2. Fix bug 3. Use `allman astyle` and add `utils`
1 parent 73cdc77 commit d312ad4

File tree

1 file changed

+23
-21
lines changed

1 file changed

+23
-21
lines changed

README.md

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ This library is based on, modified from:
9797
1. **RASPBERRY_PI_PICO_W with CYW43439 WiFi** using [**arduino-pico core v2.4.0+**](https://github.com/earlephilhower/arduino-pico)
9898

9999
<p align="center">
100-
<img src="https://github.com/khoih-prog/AsyncHTTPRequest_RP2040W/blob/main/pics/RP2040W-pinout.svg">
100+
<img src="https://github.com/khoih-prog/AsyncHTTPRequest_RP2040W/raw/main/pics/RP2040W-pinout.svg">
101101
</p>
102102

103103

@@ -107,7 +107,7 @@ This library is based on, modified from:
107107
## Prerequisites
108108

109109
1. [`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [![GitHub release](https://img.shields.io/github/release/arduino/Arduino.svg)](https://github.com/arduino/Arduino/releases/latest)
110-
2. [`Earle Philhower's arduino-pico core v2.6.1+`](https://github.com/earlephilhower/arduino-pico) for **RASPBERRY_PI_PICO_W with CYW43439 WiFi**, etc. [![GitHub release](https://img.shields.io/github/release/earlephilhower/arduino-pico.svg)](https://github.com/earlephilhower/arduino-pico/releases/latest)
110+
2. [`Earle Philhower's arduino-pico core v2.6.3+`](https://github.com/earlephilhower/arduino-pico) for **RASPBERRY_PI_PICO_W with CYW43439 WiFi**, etc. [![GitHub release](https://img.shields.io/github/release/earlephilhower/arduino-pico.svg)](https://github.com/earlephilhower/arduino-pico/releases/latest)
111111
3. [`AsyncTCP_RP2040W library v1.1.0+`](https://github.com/khoih-prog/AsyncTCP_RP2040W) for RASPBERRY_PI_PICO_W with CYW43439 WiFi. To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/AsyncTCP_RP2040W.svg?)](https://www.ardu-badge.com/AsyncTCP_RP2040W)
112112

113113
---
@@ -181,13 +181,13 @@ Please take a look at other examples, as well.
181181

182182
#### 1. File [AsyncHTTPRequest.ino](examples/AsyncHTTPRequest/AsyncHTTPRequest.ino)
183183

184-
https://github.com/khoih-prog/AsyncHTTPRequest_RP2040W/blob/19d5b540f4ed6c967b6f82a37689f0f4c62a7059/examples/AsyncHTTPRequest/AsyncHTTPRequest.ino#L41-L185
184+
https://github.com/khoih-prog/AsyncHTTPRequest_RP2040W/blob/73cdc771d7613d2f09a43bf727abf14bf98b1b01/examples/AsyncHTTPRequest/AsyncHTTPRequest.ino#L41-L193
185185

186186
---
187187

188188
#### 2. File [defines.h](examples/AsyncHTTPRequest/defines.h)
189189

190-
https://github.com/khoih-prog/AsyncHTTPRequest_RP2040W/blob/19d5b540f4ed6c967b6f82a37689f0f4c62a7059/examples/AsyncHTTPRequest/defines.h#L20-L30
190+
https://github.com/khoih-prog/AsyncHTTPRequest_RP2040W/blob/73cdc771d7613d2f09a43bf727abf14bf98b1b01/examples/AsyncHTTPRequest/defines.h#L20-L30
191191

192192
---
193193
---
@@ -199,28 +199,28 @@ https://github.com/khoih-prog/AsyncHTTPRequest_RP2040W/blob/19d5b540f4ed6c967b6f
199199
```
200200
Start AsyncHTTPRequest on RASPBERRY_PI_PICO_W
201201
AsyncTCP_RP2040W v1.1.0
202-
AsyncHTTPRequest_RP2040W v1.2.1
202+
AsyncHTTPRequest_RP2040W v1.2.2
203203
Connecting to SSID: HueNet1
204204
SSID: HueNet1
205205
Local IP Address: 192.168.2.77
206206
Request sent
207207
208208
**************************************
209-
abbreviation: EDT
210-
client_ip: 65.110.220.219
211-
datetime: 2022-10-20T23:10:21.133081-04:00
209+
abbreviation: EST
210+
client_ip: aaa.bbb.ccc.ddd
211+
datetime: 2022-11-10T12:51:21.828792-05:00
212212
day_of_week: 4
213-
day_of_year: 293
214-
dst: true
215-
dst_from: 2022-03-13T07:00:00+00:00
216-
dst_offset: 3600
217-
dst_until: 2022-11-06T06:00:00+00:00
213+
day_of_year: 314
214+
dst: false
215+
dst_from:
216+
dst_offset: 0
217+
dst_until:
218218
raw_offset: -18000
219219
timezone: America/Toronto
220-
unixtime: 1666321821
221-
utc_datetime: 2022-10-21T03:10:21.133081+00:00
222-
utc_offset: -04:00
223-
week_number: 42
220+
unixtime: 1668102681
221+
utc_datetime: 2022-11-10T17:51:21.828792+00:00
222+
utc_offset: -05:00
223+
week_number: 45
224224
**************************************
225225
```
226226

@@ -231,7 +231,7 @@ week_number: 42
231231
```
232232
Start AsyncDweetPOST on RASPBERRY_PI_PICO_W with RP2040W CYW43439 WiFi
233233
AsyncTCP_RP2040W v1.1.0
234-
AsyncHTTPRequest_RP2040W v1.2.1
234+
AsyncHTTPRequest_RP2040W v1.2.2
235235
Connecting to SSID: HueNet1
236236
SSID: HueNet1
237237
Local IP Address: 192.168.2.180
@@ -253,7 +253,7 @@ Actual value: 88
253253
```
254254
Start AsyncWebClientRepeating on RASPBERRY_PI_PICO_W
255255
AsyncTCP_RP2040W v1.1.0
256-
AsyncHTTPRequest_RP2040W v1.2.1
256+
AsyncHTTPRequest_RP2040W v1.2.2
257257
Connecting to SSID: HueNet1
258258
SSID: HueNet1
259259
Local IP Address: 192.168.2.180
@@ -354,8 +354,10 @@ Submit issues to: [AsyncHTTPRequest_RP2040W issues](https://github.com/khoih-pro
354354
6. Fix long timeout if using `IPAddress`
355355
7. Not try to reconnect to the same `host:port` after connected
356356
8. Fix bug of wrong `reqStates`
357-
358-
357+
9. Default to reconnect to the same `host:port` after connected for new HTTP sites.
358+
10. Use `allman astyle` and add `utils`
359+
360+
359361
---
360362
---
361363

0 commit comments

Comments
 (0)