trusteddomainproject / OpenARC

Open source ARC implementation
BSD 2-Clause "Simplified" License
135 stars 45 forks source link

openarc: Avoid truncate ARC set headers #180

Open futatuki opened 2 months ago

futatuki commented 2 months ago

As ARC set header may grow up to ARC_MAXHEADER, the limit size per header size we determined to handle, buffer size to store should be larger than it.

With this commit, fix a size of the buffer to store header field body.

This would fix the problem described in PR #161