trilogy 2.8.0 → 2.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc0ed0331bd27abe2cf82b8c1e334dbd0d68ac93ae2bbd73fac5fe12874ee324
4
- data.tar.gz: 457d93059c16e539c9b79f901269476f9380b0141e13edfd0624a0de6b5e06d1
3
+ metadata.gz: 314d8fc7b424ff0f7cb1a7b432fdf64d51d4a1c3bb0eb20dcf8ea67fb2445bd5
4
+ data.tar.gz: 66b842ec3cf4017226fcc43e4b0bb931701b1299ea1cb025d8764ad7705dd96e
5
5
  SHA512:
6
- metadata.gz: d77b2c84b0fec65762a591e3685ac50f8a031cb74a7fee90ca4b1bf02173a8abd2d6c7b9be410c0bab7b71b6e85c5c13de8db21bddb93eb265aeeda395184f46
7
- data.tar.gz: 668737a977f8d831fbb1509e4e9695e0d3ca83e7a60859a485d3ae7bed0d4c2659994fd0d33ac12cf73a74b09400a3ef7ee631e9c7bc3cccfcfb70b19dff745b
6
+ metadata.gz: 5cf6f57d91e14972b5fc61576c1b5be98644c03a4a6185dd6fe80aa2c4c22f629c792abb1572e37dbe6b53aec2208cbb344a5575d8877094d3072a16d011bcbe
7
+ data.tar.gz: e967b694945e7c2506240d20e2cb45fa67e0aca7f80ca4961cca7556d7fec8e27f1ab790a8459fc57de425a9144cdc808cc19547a607f35713640e59b752552f
@@ -305,14 +305,13 @@ int trilogy_connect_send_socket(trilogy_conn_t *conn, trilogy_sock_t *sock)
305
305
  return rc;
306
306
 
307
307
  conn->socket = sock;
308
+ conn->packet_parser.sequence_number = 0;
309
+
308
310
  return TRILOGY_OK;
309
311
  }
310
312
 
311
313
  int trilogy_connect_recv(trilogy_conn_t *conn, trilogy_handshake_t *handshake_out)
312
314
  {
313
- // reset the sequence number with each connect recv attempt
314
- conn->packet_parser.sequence_number = 0;
315
-
316
315
  int rc = read_packet(conn);
317
316
 
318
317
  if (rc < 0) {
@@ -1,3 +1,3 @@
1
1
  class Trilogy
2
- VERSION = "2.8.0"
2
+ VERSION = "2.8.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trilogy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.0
4
+ version: 2.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub Engineering
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-09 00:00:00.000000000 Z
11
+ date: 2024-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler