tp2 0.1 → 0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0722207c7f88a7f070a40e0257c41c557a1e59c7c3dc7768eefc9aed52fd7c04
4
- data.tar.gz: 80003148244f0278b56cf4fa99f966d9d4cfc88a72b69744c8120e91c70f74e6
3
+ metadata.gz: 7c717e4955f9761fb51c8f8604323c887745282b31ff8f3aaae7aad300af35f3
4
+ data.tar.gz: 1969ba78997432a60f26b2103f8a5c3abaf460e0dbd3b0b4e5893baa3fd9c75a
5
5
  SHA512:
6
- metadata.gz: 1efa96a8ae2adfd2a4cd46bb0086e927cbe5c54819d68ff2051096130ecbdae89b7ff73501d7c058962bce931471961e74bcc3c53b190f07b83b5ddc6d3a36ec
7
- data.tar.gz: fd111961e0c152b30cafcf22b718c541c8d977e7bf6bd0219b5a17fc6bcae55b9d95d9b2ed3d123d9711ec0111e56aeb913675c06de235da2a8853b3d08fd739
6
+ metadata.gz: 772ba38e32667e97f0531d877b3ddecb93d3863b4342d462e29e623dc5bb0cdd8b7979352150b13d662ec2a2871185a360154eb0b0928e6e1836f82ff28a2b08
7
+ data.tar.gz: 31cd057a87151dc1ee622cf5511c43ac4a98e21228ff9aa9fc5311223f3f08155e920142e4c6f1f553a1f9b81428ce36c2674c4d87b277bd1b1d86e67b6c4421
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tp2 (0.1)
4
+ tp2 (0.2)
5
5
  http_parser.rb (= 0.8.0)
6
6
  qeweney (= 0.21)
7
7
  uringmachine (= 0.5.1)
data/lib/tp2/http.rb CHANGED
@@ -60,8 +60,8 @@ module TP2
60
60
  @parser << buf
61
61
  break if @done
62
62
  end
63
- rescue SystemCallError
64
- # do nothing
63
+ rescue SystemCallError, HTTP::Parser::Error
64
+ # ignore error, just close the port silently
65
65
  ensure
66
66
  @machine.close(@fd)
67
67
  end
data/lib/tp2/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module TP2
2
- VERSION = '0.1'
2
+ VERSION = '0.2'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tp2
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: '0.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sharon Rosner
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-02-22 00:00:00.000000000 Z
10
+ date: 2025-03-01 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: http_parser.rb