Giter Club home page Giter Club logo

Comments (4)

mporsch avatar mporsch commented on August 21, 2024

Not so specific after all, see test failure in OSX with OpenSSL 3.1.1

12/14 Test #12: sockpuppet_tls_buffered_test ............***Failed    3.57 sec
generating random reference data
test case #1: unlimited send timeout
server listening at [::1]:8554
client [::1]:49185 connected to server [::1]:8554
sending reference data from [::1]:49185 to [::1]:8554
verifying received against reference data
test case #2: limited send timeout
server listening at [::1]:8554
client [::1]:49186 connected to server [::1]:8554
sending reference data from [::1]:49186 to [::1]:8554
verifying received against reference data
test case #3: non-blocking send
server listening at [::1]:8554
client [::1]:49187 connected to server [::1]:8554
sending reference data from [::1]:49187 to [::1]:8554
failed to TLS receive/send/handshake: 00C0F10B00700000:error:0A00010F:SSL routines:ssl3_write_bytes:bad length:ssl/record/rec_layer_s3.c:370:

from sockpuppet.

mporsch avatar mporsch commented on August 21, 2024

The bad length status was very specific actually: the failing test(s) sample a new TCP packet size after a failed/partial send instead of retrying the previous packet. This breaks the SSL_write contract and leads to the error.
Because we already configured SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER we now check content and length instead of buffer start address.

from sockpuppet.

mporsch avatar mporsch commented on August 21, 2024

#5 again?

14: Test command: /Users/runner/work/sockpuppet/sockpuppet/build/sockpuppet_tls_async_performance_test
14: Working Directory: /Users/runner/work/sockpuppet/sockpuppet/build
14: Test timeout computed to be: 10000000
14: generating random reference data
14: server listening at 127.0.0.1:49217
14: client 127.0.0.1:49218 connecting to server
14: client 127.0.0.1:49218 connected to server
14: sending reference data from 127.0.0.1:49218 to 127.0.0.1:49217
14: client 127.0.0.1:49219 connecting to server
14: client 127.0.0.1:49219 connected to server
14: sending reference data from 127.0.0.1:49219 to 127.0.0.1:49217
14: client 127.0.0.1:49220 connecting to server
14: client 127.0.0.1:49220 connected to server
14: sending reference data from 127.0.0.1:49220 to 127.0.0.1:49217
14: verifying received against reference data
14: client 127.0.0.1:49218 closing connection to server (self-initiated shutdown)
14: client 127.0.0.1:49218 closed connection to server (failed to TLS receive/send/handshake)
14: verifying received against reference data
14: client 127.0.0.1:49219 closing connection to server (self-initiated shutdown)
14: client 127.0.0.1:49219 closed connection to server (failed to TLS receive/send/handshake)
14: clients did not receive echoed reference data on time
14: client 127.0.0.1:49220 closed connection to server (failed to TLS receive/send/handshake)
14/14 Test #14: sockpuppet_tls_async_performance_test ...***Failed   62.58 sec

from sockpuppet.

mporsch avatar mporsch commented on August 21, 2024

Fixed by #9

from sockpuppet.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.