cotag / http-parser

A super fast http parser for ruby
MIT License
18 stars 17 forks source link

Upgrade FFI Dependency #7

Closed Jcambass closed 3 years ago

Jcambass commented 3 years ago

This patch upgrade the minimum version of FFI to be 1.13.1. We recently run into segfaults with http-parser 1.2.1 (latest rubygems release) with ruby 2.7. Those segfaults were caused by the newly introduced Compacting GC but they are fixed in the 1.13.1 release of ffi.

Issue on FFI: https://github.com/ffi/ffi/issues/742 Fixing commit: https://github.com/ffi/ffi/commit/6662bccd0bff2f64b79380e23850548af76637b7