WiFiEsp library

Juraj,I moved to GET request that include data in url instead of sending it in form data and it is working , but now I have another problem.

Sometimes i get on arduino all of the request sent from client but not every time.

Here you can see that one time i don't get whole last line of request(about cookie) but in next request I do:

GET / HTTP/1.1
Host: 192.168.1.53
Connection: keep-alive
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: hr,en-US;q=0.9,en;q=0.8
Cookie: id=

MAIN

IMA COOKIE

GET /favicon.ico HTTP/1.1
Host: 192.168.1.53
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
Accept: image/webp,image/apng,image/*,*/*;q=0.8
Referer: http://192.168.1.53/
Accept-Encoding: gzip, deflate
Accept-Language: hr,en-US;q=0.9,en;q=0.8
Cookie: id=2

I know the above code doesn't give any explanation but I just wanted to show what i mean by not receiving whole request. If someone is willing to help code is in attachment.

Code.txt (5.74 KB)