The embedded fcgiapp.c seems to contain this issue: https://github.com/FastCGI-Archives/fcgi2/issues/67