Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit 7f35106

Browse files
committed
1 parent 2e461f6 commit 7f35106

File tree

10 files changed

+46
-76
lines changed

10 files changed

+46
-76
lines changed

.github/FUNDING.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ labels: triage
66
assignees: ""
77
---
88

9-
**Only for bugs found in the library! Otherwise, please go to the [discussions section](https://github.com/mathieucarbou/ESPAsyncWebServer/discussions)!**
9+
**Only for bugs found in the library! Otherwise, please go to the [discussions section](https://github.com/ESP32Async/ESPAsyncWebServer/discussions)!**
1010

1111
**Please make sure to go through the recommendations before opening a bug report:**
1212

13-
[https://github.com/mathieucarbou/ESPAsyncWebServer?tab=readme-ov-file#important-recommendations](https://github.com/mathieucarbou/ESPAsyncWebServer?tab=readme-ov-file#important-recommendations)
13+
[https://github.com/ESP32Async/ESPAsyncWebServer?tab=readme-ov-file#important-recommendations](https://github.com/ESP32Async/ESPAsyncWebServer?tab=readme-ov-file#important-recommendations)
1414

1515
**Description**
1616

.github/ISSUE_TEMPLATE/question.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ labels: question
66
assignees: ""
77
---
88

9-
**For questions: please go to the [discussions section](https://github.com/mathieucarbou/ESPAsyncWebServer/discussions)!**
9+
**For questions: please go to the [discussions section](https://github.com/ESP32Async/ESPAsyncWebServer/discussions)!**

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ jobs:
5555

5656
- name: Install AsyncTCP (ESP32)
5757
if: ${{ matrix.core == 'esp32:esp32' }}
58-
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/AsyncTCP#v3.3.2
58+
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/ESP32Async/AsyncTCP#v3.3.2
5959

6060
- name: Install ESPAsyncTCP (ESP8266)
6161
if: ${{ matrix.core == 'esp8266:esp8266' }}
62-
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/esphome-ESPAsyncTCP#v2.0.0
62+
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/ESP32Async/ESPAsyncTCP#v2.0.0
6363

6464
- name: Install AsyncTCP (RP2040)
6565
if: ${{ matrix.core == 'rp2040:rp2040' }}

README.md

Lines changed: 20 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# ESPAsyncWebServer
22

3-
[![Latest Release](https://img.shields.io/github/release/mathieucarbou/ESPAsyncWebServer.svg)](https://GitHub.com/mathieucarbou/ESPAsyncWebServer/releases/)
4-
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/mathieucarbou/library/ESPAsyncWebServer.svg)](https://registry.platformio.org/libraries/mathieucarbou/ESPAsyncWebServer)
3+
[![Latest Release](https://img.shields.io/github/release/ESP32Async/ESPAsyncWebServer.svg)](https://GitHub.com/ESP32Async/ESPAsyncWebServer/releases/)
4+
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/ESP32Async/library/ESPAsyncWebServer.svg)](https://registry.platformio.org/libraries/ESP32Async/ESPAsyncWebServer)
55

66
[![License: LGPL 3.0](https://img.shields.io/badge/License-LGPL%203.0-yellow.svg)](https://opensource.org/license/lgpl-3-0/)
77
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](code_of_conduct.md)
88

9-
[![Build](https://github.com/mathieucarbou/ESPAsyncWebServer/actions/workflows/ci.yml/badge.svg)](https://github.com/mathieucarbou/ESPAsyncWebServer/actions/workflows/ci.yml)
10-
[![GitHub latest commit](https://badgen.net/github/last-commit/mathieucarbou/ESPAsyncWebServer)](https://GitHub.com/mathieucarbou/ESPAsyncWebServer/commit/)
11-
[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/mathieucarbou/ESPAsyncWebServer)
9+
[![Build](https://github.com/ESP32Async/ESPAsyncWebServer/actions/workflows/ci.yml/badge.svg)](https://github.com/ESP32Async/ESPAsyncWebServer/actions/workflows/ci.yml)
10+
[![GitHub latest commit](https://badgen.net/github/last-commit/ESP32Async/ESPAsyncWebServer)](https://GitHub.com/ESP32Async/ESPAsyncWebServer/commit/)
11+
[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/ESP32Async/ESPAsyncWebServer)
1212

1313
Asynchronous HTTP and WebSocket Server Library for ESP32, ESP8266 and RP2040
1414
Supports: WebSocket, SSE, Authentication, Arduino Json 7, File Upload, Static File serving, URL Rewrite, URL Redirect, etc.
@@ -42,7 +42,7 @@ This fork is based on [yubox-node-org/ESPAsyncWebServer](https://github.com/yubo
4242
- (feat) **Resumable download** support using HEAD and bytes range
4343
- (feat) `StreamConcat` example to show how to stream multiple files in one response
4444
- (feat) Removed ESPIDF Editor (this is not the role of a web server library to do that - get the source files from the original repos if required)
45-
- (perf) [AsyncTCPSock](https://github.com/mathieucarbou/AsyncTCPSock) support: AsyncTCP can be ignored and AsyncTCPSock used instead
45+
- (perf) [AsyncTCPSock](https://github.com/ESP32Async/AsyncTCPSock) support: AsyncTCP can be ignored and AsyncTCPSock used instead
4646
- (perf) `char*` overloads to avoid using `String`
4747
- (perf) `DEFAULT_MAX_WS_CLIENTS` to change the number of allows WebSocket clients and use `cleanupClients()` to help cleanup resources about dead clients
4848
- (perf) `setCloseClientOnQueueFull(bool)` which can be set on a client to either close the connection or discard messages but not close the connection when the queue is full
@@ -83,18 +83,18 @@ If you are an ESP8266 user and want to help improve current 3.x, you are more th
8383
```ini
8484
lib_compat_mode = strict
8585
lib_ldf_mode = chain
86-
lib_deps = mathieucarbou/ESPAsyncWebServer @ 3.6.0
86+
lib_deps = ESP32Async/ESPAsyncWebServer @ 3.6.0
8787
```
8888

8989
**Dependencies:**
9090

91-
- **ESP32 with AsyncTCP**: `mathieucarbou/AsyncTCP @ 3.3.2`
92-
Arduino IDE: [https://github.com/mathieucarbou/AsyncTCP#v3.3.2](https://github.com/mathieucarbou/AsyncTCP/releases)
91+
- **ESP32 with AsyncTCP**: `ESP32Async/AsyncTCP @ 3.3.2`
92+
Arduino IDE: [https://github.com/ESP32Async/AsyncTCP#v3.3.2](https://github.com/ESP32Async/AsyncTCP/releases)
9393

94-
- **ESP32 with AsyncTCPSock**: `https://github.com/mathieucarbou/AsyncTCPSock/archive/refs/tags/v1.0.3-dev.zip`
94+
- **ESP32 with AsyncTCPSock**: `https://github.com/ESP32Async/AsyncTCPSock/archive/refs/tags/v1.0.3-dev.zip`
9595

96-
- **ESP8266**: `esphome/ESPAsyncTCP-esphome @ 2.0.0`
97-
Arduino IDE: [https://github.com/mathieucarbou/esphome-ESPAsyncTCP#v2.0.0](https://github.com/mathieucarbou/esphome-ESPAsyncTCP/releases/tag/v2.0.0)
96+
- **ESP8266**: `ESP32Async/ESPAsyncTCP @ 2.0.0`
97+
Arduino IDE: [https://github.com/ESP32Async/ESPAsyncTCP#v2.0.0](https://github.com/ESP32Async/ESPAsyncTCP/releases/tag/v2.0.0)
9898

9999
- **RP2040**: `khoih-prog/AsyncTCP_RP2040W @ 1.2.0`
100100
Arduino IDE: [https://github.com/khoih-prog/AsyncTCP_RP2040W#v1.2.0](https://github.com/khoih-prog/AsyncTCP_RP2040W/releases/tag/v1.2.0)
@@ -107,28 +107,28 @@ AsyncTCPSock can be used instead of AsyncTCP by excluding AsyncTCP from the libr
107107
lib_compat_mode = strict
108108
lib_ldf_mode = chain
109109
lib_deps =
110-
; mathieucarbou/AsyncTCP @ 3.3.2
111-
https://github.com/mathieucarbou/AsyncTCPSock/archive/refs/tags/v1.0.3-dev.zip
112-
mathieucarbou/ESPAsyncWebServer @ 3.6.0
110+
; ESP32Async/AsyncTCP @ 3.3.2
111+
https://github.com/ESP32Async/AsyncTCPSock/archive/refs/tags/v1.0.3-dev.zip
112+
ESP32Async/ESPAsyncWebServer @ 3.6.0
113113
lib_ignore =
114114
AsyncTCP
115-
mathieucarbou/AsyncTCP
115+
ESP32Async/AsyncTCP
116116
```
117117

118118
## Performance
119119

120-
Performance of `mathieucarbou/ESPAsyncWebServer @ 3.6.0`:
120+
Performance of `ESP32Async/ESPAsyncWebServer @ 3.6.0`:
121121

122122
```bash
123123
> brew install autocannon
124124
> autocannon -c 10 -w 10 -d 20 http://192.168.4.1
125125
```
126126

127-
With `mathieucarbou/AsyncTCP @ 3.3.2`
127+
With `ESP32Async/AsyncTCP @ 3.3.2`
128128

129129
<img width="629" alt="perf-c10" src="https://github.com/user-attachments/assets/b4b7f953-c24d-4e04-8d87-ba3f26805737" />
130130

131-
With `https://github.com/mathieucarbou/AsyncTCPSock/archive/refs/tags/v1.0.3-dev.zip`:
131+
With `https://github.com/ESP32Async/AsyncTCPSock/archive/refs/tags/v1.0.3-dev.zip`:
132132

133133
<img width="654" alt="perf-c10-asynctcpsock" src="https://github.com/user-attachments/assets/0dacf133-ca47-40be-939b-e6f60fc95b81" />
134134

@@ -253,7 +253,7 @@ Middleware is a way to intercept requests to perform some operations on them, li
253253
Middleware can either be attached to individual handlers, attached at the server level (thus applied to all handlers), or both.
254254
They will be executed in the order they are attached, and they can stop the request processing by sending a response themselves.
255255
256-
You can have a look at the [SimpleServer.ino](https://github.com/mathieucarbou/ESPAsyncWebServer/blob/main/examples/SimpleServer/SimpleServer.ino) example for some use cases.
256+
You can have a look at the [SimpleServer.ino](https://github.com/ESP32Async/ESPAsyncWebServer/blob/main/examples/SimpleServer/SimpleServer.ino) example for some use cases.
257257
258258
For example, such middleware would handle authentication and set some attributes on the request to make them available for the next middleware and for the handler which will process the request.
259259
@@ -321,15 +321,6 @@ myHandler.addMiddleware(&authMiddleware); // add authentication to a specific ha
321321
These callbacks can be called multiple times during request parsing, so this is up to the user to now call the `AsyncAuthenticationMiddleware.allowed(request)` if needed and ideally when the method is called for the first time.
322322
These callbacks are also not triggering the whole middleware chain since they are not part of the request processing workflow (they are not the final handler).
323323

324-
325-
## Maintainers
326-
This fork of ESPAsyncWebServer and dependend libs are maintained as an opensource project at best effort level.
327-
- [Mathieu Carbou](https://github.com/mathieucarbou)
328-
- [Emil Muratov](https://github.com/vortigont)
329-
330-
Thanks to all who contributed by providing PRs, testing and reporting issues.
331-
332-
333324
## Original Documentation
334325
<!-- no toc -->
335326
- [Why should you care](#why-should-you-care)

examples/Filters/Filters.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Reproduced issue https://github.com/mathieucarbou/ESPAsyncWebServer/issues/26
1+
// Reproduced issue https://github.com/ESP32Async/ESPAsyncWebServer/issues/26
22

33
#include <DNSServer.h>
44
#ifdef ESP32

library.json

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,16 @@
33
"version": "3.6.0",
44
"description": "Asynchronous HTTP and WebSocket Server Library for ESP32, ESP8266 and RP2040. Supports: WebSocket, SSE, Authentication, Arduino Json 7, File Upload, Static File serving, URL Rewrite, URL Redirect, etc.",
55
"keywords": "http,async,websocket,webserver",
6-
"homepage": "https://github.com/mathieucarbou/ESPAsyncWebServer",
6+
"homepage": "https://github.com/ESP32Async/ESPAsyncWebServer",
77
"repository": {
88
"type": "git",
9-
"url": "https://github.com/mathieucarbou/ESPAsyncWebServer.git"
9+
"url": "https://github.com/ESP32Async/ESPAsyncWebServer.git"
10+
},
11+
"authors":
12+
{
13+
"name": "ESP32Async",
14+
"maintainer": true
1015
},
11-
"authors": [
12-
{
13-
"name": "Hristo Gochkov"
14-
},
15-
{
16-
"name": "Mathieu Carbou",
17-
"maintainer": true
18-
},
19-
{
20-
"name": "Emil Muratov",
21-
"maintainer": true
22-
}
23-
],
2416
"license": "LGPL-3.0",
2517
"frameworks": "arduino",
2618
"platforms": [
@@ -30,14 +22,14 @@
3022
],
3123
"dependencies": [
3224
{
33-
"owner": "mathieucarbou",
25+
"owner": "ESP32Async",
3426
"name": "AsyncTCP",
3527
"version": "^3.3.2",
3628
"platforms": "espressif32"
3729
},
3830
{
39-
"owner": "esphome",
40-
"name": "ESPAsyncTCP-esphome",
31+
"owner": "ESP32Async",
32+
"name": "ESPAsyncTCP",
4133
"version": "^2.0.0",
4234
"platforms": "espressif8266"
4335
},

library.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name=ESP Async WebServer
22
includes=ESPAsyncWebServer.h
33
version=3.6.0
4-
author=Me-No-Dev
5-
maintainer=Mathieu Carbou <[email protected]>
4+
author=ESP32Async
5+
maintainer=ESP32Async
66
sentence=Asynchronous HTTP and WebSocket Server Library for ESP32, ESP8266 and RP2040
77
paragraph=Supports: WebSocket, SSE, Authentication, Arduino Json 7, File Upload, Static File serving, URL Rewrite, URL Redirect, etc
88
category=Other
9-
url=https://github.com/mathieucarbou/ESPAsyncWebServer
9+
url=https://github.com/ESP32Async/ESPAsyncWebServer
1010
architectures=*
1111
license=LGPL-3.0

platformio.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ lib_deps =
3131
; bblanchon/ArduinoJson @ 5.13.4
3232
; bblanchon/ArduinoJson @ 6.21.5
3333
bblanchon/ArduinoJson @ 7.3.0
34-
mathieucarbou/AsyncTCP @ 3.3.2
34+
ESP32Async/AsyncTCP @ 3.3.2
3535
board = esp32dev
3636
board_build.partitions = partitions-4MB.csv
3737
board_build.filesystem = littlefs
@@ -49,7 +49,7 @@ platform = https://github.com/pioarduino/platform-espressif32/releases/download/
4949
; board = esp32-s3-devkitc-1
5050
; board = esp32-c6-devkitc-1
5151
lib_deps =
52-
mathieucarbou/AsyncTCP @ 3.3.2
52+
ESP32Async/AsyncTCP @ 3.3.2
5353

5454
[env:arduino-311]
5555
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.11/platform-espressif32.zip
@@ -65,7 +65,7 @@ build_flags = ${env.build_flags}
6565
[env:perf-test-AsyncTCPSock]
6666
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.11/platform-espressif32.zip
6767
lib_deps =
68-
https://github.com/mathieucarbou/AsyncTCPSock/archive/refs/tags/v1.0.3-dev.zip
68+
https://github.com/ESP32Async/AsyncTCPSock/archive/refs/tags/v1.0.3-dev.zip
6969
build_flags = ${env.build_flags}
7070
-D PERF_TEST=1
7171

@@ -75,7 +75,7 @@ platform = espressif8266
7575
board = d1_mini
7676
lib_deps =
7777
bblanchon/ArduinoJson @ 7.3.0
78-
esphome/ESPAsyncTCP-esphome @ 2.0.0
78+
ESP32Async/ESPAsyncTCP @ 2.0.0
7979

8080
[env:raspberrypi]
8181
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
@@ -103,7 +103,7 @@ board = ${sysenv.PIO_BOARD}
103103
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.05/platform-espressif32.zip
104104
board = ${sysenv.PIO_BOARD}
105105
lib_deps =
106-
mathieucarbou/AsyncTCP @ 3.3.2
106+
ESP32Async/AsyncTCP @ 3.3.2
107107

108108
[env:ci-arduino-311]
109109
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.11/platform-espressif32.zip
@@ -114,7 +114,7 @@ platform = espressif8266
114114
board = ${sysenv.PIO_BOARD}
115115
lib_deps =
116116
bblanchon/ArduinoJson @ 7.3.0
117-
esphome/ESPAsyncTCP-esphome @ 2.0.0
117+
ESP32Async/ESPAsyncTCP @ 2.0.0
118118

119119
[env:ci-raspberrypi]
120120
platform = https://github.com/maxgerhardt/platform-raspberrypi.git

src/ESPAsyncWebServer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
#define ASYNCWEBSERVER_VERSION_MAJOR 3
5353
#define ASYNCWEBSERVER_VERSION_MINOR 6
5454
#define ASYNCWEBSERVER_VERSION_REVISION 0
55-
#define ASYNCWEBSERVER_FORK_mathieucarbou
55+
#define ASYNCWEBSERVER_FORK_ESP32Async
5656

5757
#ifdef ASYNCWEBSERVER_REGEX
5858
#define ASYNCWEBSERVER_REGEX_ATTRIBUTE

0 commit comments

Comments
 (0)