mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Merge remote-tracking branch 'origin/main' into feat/session-timeout-config
# Conflicts: # httpd/httpd.c
This commit is contained in:
commit
6be1871bb4
5 files changed
+10
-2
No files matched your search
+1
-1
@@ -344,7 +344,7 @@ __xdata uint8_t *scan_header(__xdata uint8_t * __xdata p)
|
||||
|
||||
read_reg_timer(&now);
|
||||
|
||||
if (session) {
|
||||
if (session && session_id[0]) {
|
||||
if (now - last_session_use > session_timeout) {
|
||||
dbg_string("Session expired\n");
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user