# File lib/protocols/httpcli2.rb, line 104 104: def receive_header_line ln 105: if ln.length == 0 106: if @header_lines.length > 0 107: process_header 108: else 109: @blanks += 1 110: if @blanks > 10 111: @conn.close_connection 112: end 113: end 114: else 115: @header_lines << ln 116: if @header_lines.length > 100 117: @internal_error = :bad_header 118: @conn.close_connection 119: end 120: end 121: end