carnivore-http 0.3.0 → 0.3.2
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/carnivore-http/http_paths.rb +3 -1
- data/lib/carnivore-http/http_source.rb +1 -0
- data/lib/carnivore-http/retry_delivery.rb +1 -1
- data/lib/carnivore-http/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f97d68c500eef074443ebf72c97773168f512d7f
|
4
|
+
data.tar.gz: dedb4fcb9cffa5cc30bbbd88eccd813b35d13f74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe81631a2bdb55e24137c5e67cb4307bc0b9f61641453da932b97e1f4af6baaa3eb69ace9aae3f754664f9e74b9b69868e72d43b832038d239656bd7a1b24a80
|
7
|
+
data.tar.gz: b78fac28e0a7d289c48bda6999127dbad9fabc729df3c94d1c558a8f67b468bf723be4d5de5799b90c37e02bdd416fe43c5051c12fa4912ffce18f71899f805c
|
data/CHANGELOG.md
CHANGED
@@ -21,6 +21,7 @@ module Carnivore
|
|
21
21
|
|
22
22
|
# Kill listener on shutdown
|
23
23
|
def terminate
|
24
|
+
super
|
24
25
|
listener = memoize("#{args[:bind]}-#{args[:port]}", :global){ nil }
|
25
26
|
if(listener && listener.running)
|
26
27
|
listener.stop(:sync)
|
@@ -99,6 +100,8 @@ module Carnivore
|
|
99
100
|
else
|
100
101
|
req.respond(:not_found, 'Requested path not found!')
|
101
102
|
end
|
103
|
+
rescue Zoidberg::DeadException
|
104
|
+
raise
|
102
105
|
rescue => e
|
103
106
|
req.respond(:bad_request, "Failed to process request -> #{e}")
|
104
107
|
puts "#{e}\n#{e.backtrace.join("\n")}"
|
@@ -113,7 +116,6 @@ module Carnivore
|
|
113
116
|
until(val)
|
114
117
|
val = defer{ message_queue[:queue].pop }
|
115
118
|
end
|
116
|
-
info "PROCESSING MSG: #{val}"
|
117
119
|
val
|
118
120
|
end
|
119
121
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carnivore-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Roberts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: carnivore
|