by bbbbbbbbb · 15y ago · 0 comments
I see. That's a valid point. So when I asked if by design the protocol would offer better performance, the answer is yes?
Is this inefficiency so bad that changing it to an array ref brings THAT much improvement though?
It was easy to change the output but I will have to create a thin wrapper around FastCGI/PSGI to make it transparent. something like this detection done in Mojo becomes necessary:
# PSGI (Plack only for now) return 'psgi' if defined $ENV{PLACK_ENV};
# CGI
return 'cgi' if defined $ENV{PATH_INFO} || defined $ENV{GATEWAY_INTERFACE};
well, that's not much work...I'll continue porting the app and see how it behaves.
Thank you for your time.
No comments yet.