Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, I had a djb net parser my (work) friends wrote that would end up dropping the connection if the last byte read was the byte before the separating comma. https://en.wikipedia.org/wiki/Netstring

Only happened with very large database reads so that the 1440 byte segments hit that spot. New manager and he started mocking me during team meetings on why I was so obsessed with these load tests succeeding and then was amazed at the 2 char fix (adding +1 to the read till length call).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: