Skip to content

HELP NEEDED!! Http post request not gettiing detect by firebase esp library #252

Answered by mobizt
ayyysh04 asked this question in Q&A
Discussion options

You must be logged in to vote

Normally the TCP session was kept open (server is always connected or keep alive) for the next request to speed up data transfer, this is how the session was reuse.

If the next request has different HTTP method e.g. the previous request is GET (from get function) while the next request is POST request (from push function) which its method is different from the previous one, the TCP session need to be closed (server disconnected) and establish the new connection.

Every time secure TCP session was new established, the SSL handshake is need to be performed and it takes time about 1-2 seconds to be done.

The above case is for single FirebaseData object which multiple sockets per TCP client in…

Replies: 8 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ayyysh04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #251 on September 06, 2021 18:02.