[pgAdmin4][RM3371] Ping endpoint still send a pg4a_session cookie - Mailing list pgadmin-hackers

From Aditya Toshniwal
Subject [pgAdmin4][RM3371] Ping endpoint still send a pg4a_session cookie
Date
Msg-id CAM9w-_=9x+L5S7OUGreVu-je9ADJPJv37uQ5UWqCYtGPw=5G6w@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin4][RM3371] Ping endpoint still send a pg4a_session cookie
List pgadmin-hackers
Hi Hackers,

Attached is the patch for fixing RM3371 where /misc/ping service generate session file for each call and so cannot be used frequently.
The patch is to skip session file generation and session caching for the URLs provided in SESSION_SKIP_PATH list config parameter. pg4a_session_cookie value will still be generated but nothing will be stored at the backend.
Also, I have separated the garbage collection code in current ping service to a new url /misc/cleanup. /misc/ping will be purely for is alive check.

Request you to kindly review.

--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB Software Solutions | Pune
"Don't Complain about Heat, Plant a tree"
Attachment

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: [pgAdmin4][Patch]: RM #3397 Add support for JIT stats in EXPLAIN output in PG11
Next
From: Dave Page
Date:
Subject: Re: [pgAdmin4][RM#3319] Fix the cancel query button glitch in query tool