|
|
|
|
|
by theamk
2297 days ago
|
|
I believe author intended buffer_len to be the length of incoming buffer (size of HTTP payload, number of bytes read from file, length of the database entry, etc...). So the worst that can happen is that entire input message is consumed -- like a JS payload which missed closing quote. I can think of a very contrived situation where this can be a problem, but in most cases this will be perfectly safe. |
|