Android-Web-Server
Android-Web-Server copied to clipboard
HTTP POST requests exceeding 1500 byte cannot be obtained
When I use the http client to initiate an HTTP POST request, if the size of the first packet is greater than 1500 bytes, I can't get the full POST data.
increase byte buffer at byte[] data = new byte[1500];
to your required length
It's a more good idea to allocate an array as many as Content-Length
done