note 128736 added to function.connection-aborted
| From: | RupakBajgain at main dot php dot net | Date: | Fri, 14 Jul 2023 16:25:54 +0000 |
| Subject: | note 128736 added to function.connection-aborted | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220695@lists.php.net to get a copy of this message | ||
One trick i used uas to send values in comment to get long pooling with disconnect check
Like for json:
Send 0 and flush before connection aborted.
Eg. {"x":"000000
And after result is ready send ", and json after removing 1st {
So it looks like
{"x":"00000000000","y":"result","z":"result2"}
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.159.168 (proxied: 103.174.168.56)
----
Manual Page -- https://php.net/manual/en/function.connection-aborted.php
Edit -- https://main.php.net/note/edit/128736
Del: integrated -- https://main.php.net/note/delete/128736/integrated
Del: useless -- https://main.php.net/note/delete/128736/useless
Del: bad code -- https://main.php.net/note/delete/128736/bad+code
Del: spam -- https://main.php.net/note/delete/128736/spam
Del: non-english -- https://main.php.net/note/delete/128736/non-english
Del: in docs -- https://main.php.net/note/delete/128736/in+docs
Del: other reasons-- https://main.php.net/note/delete/128736
Reject -- https://main.php.net/note/reject/128736
Search -- https://main.php.net/manage/user-notes.php