bossan 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/bossan.gemspec +2 -0
- data/ext/bossan/bossan_ext.c +3 -1
- data/lib/bossan/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa6c20fc1586a9072c8edd0ca46364486fa86976
|
4
|
+
data.tar.gz: e36462b54639d280f13210aa607d2f3c7e4ea31a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 179adc2a4ffd737a67b19763691bdb4b8be9188552b47163390d2aeb6943b394fa920dbaabb834cbe4c14c13fcc8003244073ae6aacaf9a6e94739bcec4baf36
|
7
|
+
data.tar.gz: 62e47f8c8f4e3cd5f51ea5bf260dc7ea6e1842ce075d96e075a9e0912988bdd9a33bc324e495ecc8be7738030e25350839301f1d701ca2d368b150a933445e23
|
data/CHANGELOG.md
CHANGED
data/bossan.gemspec
CHANGED
@@ -9,6 +9,8 @@ Gem::Specification.new do |gem|
|
|
9
9
|
gem.description = %q{high performance asynchronous rack web server}
|
10
10
|
gem.summary = gem.description
|
11
11
|
gem.homepage = "https://github.com/kubo39/bossan"
|
12
|
+
|
13
|
+
gem.license = 'BSD'
|
12
14
|
|
13
15
|
gem.files = `git ls-files`.split($/)
|
14
16
|
gem.extensions = ["ext/bossan/extconf.rb"]
|
data/ext/bossan/bossan_ext.c
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
#define CRLF "\r\n"
|
24
24
|
#define DELIM ": "
|
25
25
|
|
26
|
-
#define SERVER "bossan/0.4.
|
26
|
+
#define SERVER "bossan/0.4.1"
|
27
27
|
|
28
28
|
#define H_MSG_500 "HTTP/1.0 500 Internal Server Error\r\nContent-Type: text/html\r\nServer: " SERVER "\r\n\r\n"
|
29
29
|
|
@@ -1533,8 +1533,10 @@ static void
|
|
1533
1533
|
setup_listen_sock(int fd)
|
1534
1534
|
{
|
1535
1535
|
int on = 1, r = -1;
|
1536
|
+
#ifdef linux
|
1536
1537
|
r = setsockopt(fd, IPPROTO_TCP, TCP_DEFER_ACCEPT, &on, sizeof(on));
|
1537
1538
|
assert(r == 0);
|
1539
|
+
#endif
|
1538
1540
|
r = fcntl(fd, F_SETFL, O_NONBLOCK);
|
1539
1541
|
assert(r == 0);
|
1540
1542
|
}
|
data/lib/bossan/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bossan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroki Noda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -79,7 +79,8 @@ files:
|
|
79
79
|
- test/test_rack_long_url.rb
|
80
80
|
- test/test_rack_spec.rb
|
81
81
|
homepage: https://github.com/kubo39/bossan
|
82
|
-
licenses:
|
82
|
+
licenses:
|
83
|
+
- BSD
|
83
84
|
metadata: {}
|
84
85
|
post_install_message:
|
85
86
|
rdoc_options: []
|