ruby-lsapi 5.6 → 5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 683129ad091d40aea2e77ed9d334ebec39445f6fb8d8a90e8447653a99734982
4
- data.tar.gz: 59d3d25ac7ac9d6d2b99550608e892ff56ea78058cf386a80abeff42c00f15c1
3
+ metadata.gz: 47bd3a585cd4f426d40112a0dc34e37b63f8f68f56778d6f202a9b999d017040
4
+ data.tar.gz: ab4cb86972a775d34f634336554c71534ef48cbffd171732defba3269699a97a
5
5
  SHA512:
6
- metadata.gz: 9ff5c2961a204c0dc4b31412252a056e0829865b3fe45bacad4f0edb97f489f68d791e006b310f78ea899dd9ed79d18f30b2cc65024f07005913b76c6ce799b5
7
- data.tar.gz: f6cbbac34f011be2534ef74e58bbce4cb89e8ea18092b9ea41699998a6b3c40d483ac7ec1e5594e3ebe199ad5e09916f8e72180979857433298fc37b39d91d8d
6
+ metadata.gz: 7cbe99752b66e2f5afd4d2d8688f39655c95168bc35623232f2f613812045f1b58cf44dd383fbced3490898b249bb127221cb2584beff372192c5e964d570e4a
7
+ data.tar.gz: 6576c10d61cb72d62a6259553df323682f282eb876ffbe9cbaf853703a780b7fbbe8f523e4a3336f3fa8a9822a57f6903ac91d4687b70fbbb26498a8d765ed20
data/ext/lsapi/extconf.rb CHANGED
@@ -3,6 +3,9 @@ dir_config( 'lsapi' )
3
3
  if ( have_library( "socket" ))
4
4
  have_library( "nsl" )
5
5
  end
6
+ if RUBY_VERSION =~ /1.8/ then
7
+ $CPPFLAGS += " -DRUBY_18"
8
+ end
6
9
  if RUBY_VERSION =~ /1.9/ then
7
10
  $CPPFLAGS += " -DRUBY_19"
8
11
  end
data/ext/lsapi/lsapidef.h CHANGED
@@ -97,7 +97,7 @@ enum
97
97
  #define LSAPI_INTERNAL_ERROR 9
98
98
 
99
99
 
100
- #define LSAPI_MAX_HEADER_LEN 65535
100
+ #define LSAPI_MAX_HEADER_LEN (1024 * 256)
101
101
  #define LSAPI_MAX_DATA_PACKET_LEN 16384
102
102
 
103
103
  #define LSAPI_RESP_HTTP_HEADER_MAX 32768
data/ext/lsapi/lsruby.c CHANGED
@@ -1,7 +1,10 @@
1
1
 
2
2
  #include "ruby.h"
3
3
 
4
- #if defined( RUBY_VERSION_CODE ) && RUBY_VERSION_CODE < 180
4
+ #if defined( RUBY_18 )
5
+ #include "util.h"
6
+ #include "version.h"
7
+ #elif defined( RUBY_VERSION_CODE ) && RUBY_VERSION_CODE < 180
5
8
  #include "util.h"
6
9
  #else
7
10
  #include <ruby/util.h>
data/lsapi.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{ruby-lsapi}
3
- s.version = "5.6"
4
- s.date = %q{2024-01-22}
3
+ s.version = "5.7"
4
+ s.date = %q{2024-03-13}
5
5
  s.description = "This is a ruby extension for fast communication with LiteSpeed Web Server."
6
6
  s.summary = %q{A ruby extension for fast communication with LiteSpeed Web Server.}
7
7
  s.has_rdoc = false
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-lsapi
3
3
  version: !ruby/object:Gem::Version
4
- version: '5.6'
4
+ version: '5.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - LiteSpeed Technologies Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-22 00:00:00.000000000 Z
11
+ date: 2024-03-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This is a ruby extension for fast communication with LiteSpeed Web Server.
14
14
  email: info@litespeedtech.com