This does have some slight functional changes in cases where MAX_FIELD_SIZE is hit, specficially if a URL is made up of many components, each of which is smaller than MAX_FIELD_SIZE, but the total together is greater than MAX_FIELD_SIZE, then we now might not call callbacks for any of the components (even the ones that are smaller than 80kb). With the old code, it was possible to get a callback for query_string and never get a callback for the URL (or at least the end of the URL that is past 80kb), if the callback for the URL would have been larger than 80kb. (to be honest, I'm surprised that the MAX_FIELD_SIZE is implemented in http_parser at all, instead of requiring that callers pay attention to it, as it feels like it should be the caller's responsibility)event_stream
parent
d95b484e41
commit
0e8ad4e003
Loading…
Reference in new issue