Skip to content
Snippets Groups Projects
Commit 9eb1f9e7 authored by Ananthu C V's avatar Ananthu C V
Browse files

Update upstream source from tag 'upstream/1.2.3'

Update to upstream version '1.2.3'
with Debian dir 3cbdbc26be3155c25c2d07eb3ddcf9a6ccf03d17
parents 953d3737 c07f6dfc
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,4 @@ require 'ffi-compiler/compile_task' ...@@ -3,6 +3,4 @@ require 'ffi-compiler/compile_task'
FFI::Compiler::CompileTask.new('http-parser-ext') do |t| FFI::Compiler::CompileTask.new('http-parser-ext') do |t|
t.cflags << "-Wall -Wextra -O3" t.cflags << "-Wall -Wextra -O3"
t.cflags << "-D_GNU_SOURCE=1" if RbConfig::CONFIG["host_os"].downcase =~ /mingw/ t.cflags << "-D_GNU_SOURCE=1" if RbConfig::CONFIG["host_os"].downcase =~ /mingw/
t.cflags << "-arch x86_64" if t.platform.mac?
t.ldflags << "-arch x86_64" if t.platform.mac?
end end
...@@ -10,8 +10,8 @@ module HttpParser ...@@ -10,8 +10,8 @@ module HttpParser
# #
# Returns a new request/response instance variable # Returns a new request/response instance variable
# #
def self.new_instance &block def self.new_instance(&block)
::HttpParser::Instance.new &block ::HttpParser::Instance.new(&block)
end end
......
# frozen_string_literal: true # frozen_string_literal: true
module HttpParser module HttpParser
VERSION = "1.2.1" VERSION = "1.2.3"
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment