mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Request#req_env_post_parse - fixup comments [skip ci]
This commit is contained in:
parent
7dc7febf9d
commit
5432a7cfc4
1 changed files with 4 additions and 4 deletions
|
@ -290,12 +290,12 @@ module Puma
|
|||
end
|
||||
private :possible_header_injection?
|
||||
|
||||
# Fixup any headers with , in the name to have _ now. We emit
|
||||
# headers with , in them during the parse phase to avoid ambiguity
|
||||
# with the - to _ conversion for critical headers. But here for
|
||||
# Fixup any headers with `,` in the name to have `_` now. We emit
|
||||
# headers with `,` in them during the parse phase to avoid ambiguity
|
||||
# with the `-` to `_` conversion for critical headers. But here for
|
||||
# compatibility, we'll convert them back. This code is written to
|
||||
# avoid allocation in the common case (ie there are no headers
|
||||
# with , in their names), that's why it has the extra conditionals.
|
||||
# with `,` in their names), that's why it has the extra conditionals.
|
||||
# @param env [Hash] see Puma::Client#env, from request, modifies in place
|
||||
# @version 5.0.3
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue