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

Commit

Permalink
v1.5.0 fixing issue with slow browsers, etc.
Browse files Browse the repository at this point in the history
### 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`
  • Loading branch information
khoih-prog authored Oct 1, 2022
1 parent 5bf64f9 commit 4db0fca
Show file tree
Hide file tree
Showing 22 changed files with 48 additions and 26 deletions.
3 changes: 2 additions & 1 deletion src/AsyncEventSource_Teensy41.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#define _AWS_TEENSY41_LOGLEVEL_ 1
Expand Down
3 changes: 2 additions & 1 deletion src/AsyncEventSource_Teensy41.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/AsyncJson_Teensy41.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/
/*
Async Response to use with ArduinoJson and AsyncWebServer
Expand Down
3 changes: 2 additions & 1 deletion src/AsyncWebAuthentication_Teensy41.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#define _AWS_TEENSY41_LOGLEVEL_ 1
Expand Down
3 changes: 2 additions & 1 deletion src/AsyncWebAuthentication_Teensy41.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/AsyncWebHandlerImpl_Teensy41.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/AsyncWebHandlers_Teensy41.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#define _AWS_TEENSY41_LOGLEVEL_ 1
Expand Down
3 changes: 2 additions & 1 deletion src/AsyncWebRequest_Teensy41.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#define _AWS_TEENSY41_LOGLEVEL_ 1
Expand Down
3 changes: 2 additions & 1 deletion src/AsyncWebResponseImpl_Teensy41.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/AsyncWebResponses_Teensy41.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#define _AWS_TEENSY41_LOGLEVEL_ 1
Expand Down
3 changes: 2 additions & 1 deletion src/AsyncWebServer_Teensy41.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#define _AWS_TEENSY41_LOGLEVEL_ 1
Expand Down
3 changes: 2 additions & 1 deletion src/AsyncWebServer_Teensy41.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#ifndef _ASYNC_WEBSERVER_TEENSY41_H_
Expand Down
11 changes: 6 additions & 5 deletions src/AsyncWebServer_Teensy41.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,25 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#ifndef _ASYNC_WEBSERVER_TEENSY41_HPP_
#define _ASYNC_WEBSERVER_TEENSY41_HPP_

#define ASYNC_WEBSERVER_TEENSY41_VERSION "AsyncWebServer_Teensy41 v1.4.1"
#define ASYNC_WEBSERVER_TEENSY41_VERSION "AsyncWebServer_Teensy41 v1.5.0"

#define ASYNC_WEBSERVER_TEENSY41_VERSION_MAJOR 1
#define ASYNC_WEBSERVER_TEENSY41_VERSION_MINOR 4
#define ASYNC_WEBSERVER_TEENSY41_VERSION_PATCH 1
#define ASYNC_WEBSERVER_TEENSY41_VERSION_MINOR 5
#define ASYNC_WEBSERVER_TEENSY41_VERSION_PATCH 0

#define ASYNC_WEBSERVER_TEENSY41_VERSION_INT 1004001
#define ASYNC_WEBSERVER_TEENSY41_VERSION_INT 1005000

#ifndef BOARD_NAME
#define BOARD_NAME "Teensy 4.1"
Expand Down
3 changes: 2 additions & 1 deletion src/AsyncWebServer_Teensy41_Debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/AsyncWebSocket_Teensy41.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#include "Arduino.h"
Expand Down
3 changes: 2 additions & 1 deletion src/AsyncWebSocket_Teensy41.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/AsyncWebSynchronization_Teensy41.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/StringArray_Teensy41.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/libb64/cdecode.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#include "cdecode.h"
Expand Down
3 changes: 2 additions & 1 deletion src/libb64/cdecode.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/libb64/cencode.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#include "cencode.h"
Expand Down
3 changes: 2 additions & 1 deletion src/libb64/cencode.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Version: 1.4.1
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.4.1 K Hoang 18/03/2022 Initial coding for Teensy 4.1 using built-in QNEthernet.
Bump up version to v1.4.1 to sync with AsyncWebServer_STM32 v1.4.1
1.5.0 K Hoang 01/10/2022 Fix issue with slow browsers or network. Add function and example to support favicon.ico
*****************************************************************************************************************************/

#pragma once
Expand Down

0 comments on commit 4db0fca

Please sign in to comment.