1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-10-05 19:18:01 +08:00

comment U_DISABLE_WATCH_THREAD define

This commit is contained in:
stefanocasazza 2020-07-23 15:44:58 +02:00
parent 683cc378f1
commit 7de91519c3
4 changed files with 6 additions and 5 deletions

View File

@ -95,10 +95,10 @@
#endif
/*
*/
#ifdef DEBUG
#define U_DISABLE_WATCH_THREAD // to read better debug trace file...
#endif
*/
int UServer_Base::rkids;
int UServer_Base::timeoutMS;
@ -216,7 +216,6 @@ UVector<UIPAllow*>* UServer_Base::vallow_IP_prv;
# ifndef IORING_FEAT_FAST_POLL
# define IORING_FEAT_FAST_POLL (1U << 5)
# endif
//#define U_FILES_UPDATE_ASYNC_WORK
# include <sys/poll.h>
int UServer_Base::fds[1] = { -1 };

View File

@ -7536,6 +7536,8 @@ void UHTTP::manageSSE()
const char* ptr = getHeaderValuePtr(U_CONSTANT_TO_PARAM("last-event-id"), true);
uint32_t last_event_id = (ptr ? u_atoi(ptr) : 0);
U_INTERNAL_ASSERT_POINTER(UServer_Base::sse_id)
UServer_Base::sse_id->clear();
(void) UClientImage_Base::wbuffer->snprintf(U_CONSTANT_TO_PARAM("Access-Control-Allow-Origin: %s\r\n"

View File

@ -1 +1 @@
09F6
09FD

View File

@ -4,8 +4,8 @@ Four Debian releases are available on the main site:
Debian 8.11, or jessie. Access this release through dists/oldoldstable
Debian 8.11 was released Saturday, 23rd June 2018.
Debian 9.12, or stretch. Access this release through dists/oldstable
Debian 9.12 was released Saturday, 8th February 2020.
Debian 9.13, or stretch. Access this release through dists/oldstable
Debian 9.13 was released Saturday, 18th July 2020.
Debian 10.4, or buster. Access this release through dists/stable
Debian 10.4 was released Saturday, 9th May 2020.