fastly / Viceroy

Viceroy provides local testing for developers working with Compute.
https://fastly.dev/learning/compute/testing/#running-a-local-testing-server
Apache License 2.0
145 stars 33 forks source link

add adaptive buffer support for geo + device detection lookups #383

Closed joeshaw closed 3 months ago

joeshaw commented 3 months ago

Write out the required buffer size to the nwritten_out value if the buffer is too small to fit the value.

joeshaw commented 3 months ago

Sorry, should have mentioned that this matches the behavior on the production Compute platform.