timetrace icon indicating copy to clipboard operation
timetrace copied to clipboard

Fixing large response writing on TCP connection

Open kehiy opened this issue 2 years ago • 12 comments

When we have a large response for a GET query, the server can't write the whole response on user's TCP connection and it will be imperfect data.

We need to enhance this line and send data in another way. (we can stream the result(?)) https://github.com/zurvan-lab/TimeTrace/blob/fdfae8ea172049890035294c6b775756f154cdb4/core/server/server.go#L133

kehiy avatar Dec 15 '23 16:12 kehiy