I was going through the code and came across two functions
- _write_more_data
- end_request
I have understood that we use _write_more_data for sending a packet but we know that is not the final packet from client side and next packets will be data packet , we use end_request for sending packet but we know that it is the last packet.
But I have a question - how will the server know that it needs to wait for next packet without parsing complete current packet in the case of _write_more_data because we didn't send any identification flag in the first packet saying that it is not the final packet .
Can someone please answer this query..?