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

Commit 4db0fca

Browse files
authored
v1.5.0 fixing issue with slow browsers, etc.
### Releases v1.5.0 1. Fix issue with slow browsers or network. Check [Target stops responding after variable time when using Firefox on Windows 10 #3](khoih-prog/AsyncWebServer_RP2040W#3) 2. Add functions and example `Async_AdvancedWebServer_favicon` to support `favicon.ico`
1 parent 5bf64f9 commit 4db0fca

22 files changed

+48
-26
lines changed

src/AsyncEventSource_Teensy41.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1717
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
19-
Version: 1.4.1
19+
Version: 1.5.0
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2424
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
25+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2526
*****************************************************************************************************************************/
2627

2728
#define _AWS_TEENSY41_LOGLEVEL_ 1

src/AsyncEventSource_Teensy41.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1717
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
19-
Version: 1.4.1
19+
Version: 1.5.0
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2424
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
25+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2526
*****************************************************************************************************************************/
2627

2728
#pragma once

src/AsyncJson_Teensy41.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1717
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
19-
Version: 1.4.1
19+
Version: 1.5.0
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2424
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
25+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2526
*****************************************************************************************************************************/
2627
/*
2728
Async Response to use with ArduinoJson and AsyncWebServer

src/AsyncWebAuthentication_Teensy41.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1717
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
19-
Version: 1.4.1
19+
Version: 1.5.0
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2424
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
25+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2526
*****************************************************************************************************************************/
2627

2728
#define _AWS_TEENSY41_LOGLEVEL_ 1

src/AsyncWebAuthentication_Teensy41.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1717
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
19-
Version: 1.4.1
19+
Version: 1.5.0
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2424
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
25+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2526
*****************************************************************************************************************************/
2627

2728
#pragma once

src/AsyncWebHandlerImpl_Teensy41.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1717
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
19-
Version: 1.4.1
19+
Version: 1.5.0
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2424
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
25+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2526
*****************************************************************************************************************************/
2627

2728
#pragma once

src/AsyncWebHandlers_Teensy41.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1717
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
19-
Version: 1.4.1
19+
Version: 1.5.0
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2424
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
25+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2526
*****************************************************************************************************************************/
2627

2728
#define _AWS_TEENSY41_LOGLEVEL_ 1

src/AsyncWebRequest_Teensy41.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1717
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
19-
Version: 1.4.1
19+
Version: 1.5.0
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2424
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
25+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2526
*****************************************************************************************************************************/
2627

2728
#define _AWS_TEENSY41_LOGLEVEL_ 1

src/AsyncWebResponseImpl_Teensy41.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1717
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
19-
Version: 1.4.1
19+
Version: 1.5.0
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2424
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
25+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2526
*****************************************************************************************************************************/
2627

2728
#pragma once

src/AsyncWebResponses_Teensy41.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1717
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
19-
Version: 1.4.1
19+
Version: 1.5.0
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2424
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
25+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2526
*****************************************************************************************************************************/
2627

2728
#define _AWS_TEENSY41_LOGLEVEL_ 1

src/AsyncWebServer_Teensy41.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1717
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
19-
Version: 1.4.1
19+
Version: 1.5.0
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2424
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
25+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2526
*****************************************************************************************************************************/
2627

2728
#define _AWS_TEENSY41_LOGLEVEL_ 1

src/AsyncWebServer_Teensy41.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1717
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
19-
Version: 1.4.1
19+
Version: 1.5.0
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2424
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
25+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2526
*****************************************************************************************************************************/
2627

2728
#ifndef _ASYNC_WEBSERVER_TEENSY41_H_

src/AsyncWebServer_Teensy41.hpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,25 @@
1616
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1717
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
19-
Version: 1.4.1
19+
Version: 1.5.0
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2424
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
25+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2526
*****************************************************************************************************************************/
2627

2728
#ifndef _ASYNC_WEBSERVER_TEENSY41_HPP_
2829
#define _ASYNC_WEBSERVER_TEENSY41_HPP_
2930

30-
#define ASYNC_WEBSERVER_TEENSY41_VERSION "AsyncWebServer_Teensy41 v1.4.1"
31+
#define ASYNC_WEBSERVER_TEENSY41_VERSION "AsyncWebServer_Teensy41 v1.5.0"
3132

3233
#define ASYNC_WEBSERVER_TEENSY41_VERSION_MAJOR 1
33-
#define ASYNC_WEBSERVER_TEENSY41_VERSION_MINOR 4
34-
#define ASYNC_WEBSERVER_TEENSY41_VERSION_PATCH 1
34+
#define ASYNC_WEBSERVER_TEENSY41_VERSION_MINOR 5
35+
#define ASYNC_WEBSERVER_TEENSY41_VERSION_PATCH 0
3536

36-
#define ASYNC_WEBSERVER_TEENSY41_VERSION_INT 1004001
37+
#define ASYNC_WEBSERVER_TEENSY41_VERSION_INT 1005000
3738

3839
#ifndef BOARD_NAME
3940
#define BOARD_NAME "Teensy 4.1"

src/AsyncWebServer_Teensy41_Debug.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1717
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
19-
Version: 1.4.1
19+
Version: 1.5.0
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2424
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
25+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2526
*****************************************************************************************************************************/
2627

2728
#pragma once

src/AsyncWebSocket_Teensy41.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1717
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
19-
Version: 1.4.1
19+
Version: 1.5.0
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2424
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
25+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2526
*****************************************************************************************************************************/
2627

2728
#include "Arduino.h"

src/AsyncWebSocket_Teensy41.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1717
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
19-
Version: 1.4.1
19+
Version: 1.5.0
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2424
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
25+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2526
*****************************************************************************************************************************/
2627

2728
#pragma once

src/AsyncWebSynchronization_Teensy41.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1717
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
19-
Version: 1.4.1
19+
Version: 1.5.0
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2424
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
25+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2526
*****************************************************************************************************************************/
2627

2728
#pragma once

src/StringArray_Teensy41.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1717
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
19-
Version: 1.4.1
19+
Version: 1.5.0
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2424
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
25+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2526
*****************************************************************************************************************************/
2627

2728
#pragma once

src/libb64/cdecode.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@
1717
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1818
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
20-
Version: 1.4.1
20+
Version: 1.5.0
2121
2222
Version Modified By Date Comments
2323
------- ----------- ---------- -----------
2424
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2525
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
26+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2627
*****************************************************************************************************************************/
2728

2829
#include "cdecode.h"

src/libb64/cdecode.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@
1717
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1818
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
20-
Version: 1.4.1
20+
Version: 1.5.0
2121
2222
Version Modified By Date Comments
2323
------- ----------- ---------- -----------
2424
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2525
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
26+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2627
*****************************************************************************************************************************/
2728

2829
#pragma once

src/libb64/cencode.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@
1717
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1818
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
20-
Version: 1.4.1
20+
Version: 1.5.0
2121
2222
Version Modified By Date Comments
2323
------- ----------- ---------- -----------
2424
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2525
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
26+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2627
*****************************************************************************************************************************/
2728

2829
#include "cencode.h"

src/libb64/cencode.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@
1717
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1818
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
20-
Version: 1.4.1
20+
Version: 1.5.0
2121
2222
Version Modified By Date Comments
2323
------- ----------- ---------- -----------
2424
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
2525
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
26+
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
2627
*****************************************************************************************************************************/
2728

2829
#pragma once

0 commit comments

Comments
 (0)