We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If two requests are made on the time on different threads, it can generate an invalid request.
1 thread, OK :
[1] pry(main)> test = -> { Universign::Transaction.new("0f7c32e2-b989-4017-87c5-d3e2a08eae52").documents.first.content.size } [3] pry(main)> threads = [Thread.new(&test)]; threads.each(&:join) => [#<Thread:0x00007fc1d763c428@(pry):1 dead>]
2 threads, KO :
[2] pry(main)> threads = [Thread.new(&test), Thread.new(&test)]; threads.each(&:join) #<Thread:0x00007fc1d8952d78@(pry):1 run> terminated with exception (report_on_exception is true): /Users/antoinebecquet/.rbenv/versions/2.6.5/lib/ruby/2.6.0/net/protocol.rb:217:in `wait_readable': stream closed in another thread (IOError) #<Thread:0x00007fc1d8952e68@(pry):1 run> terminated with exception (report_on_exception is true): /Users/antoinebecquet/.rbenv/versions/2.6.5/lib/ruby/2.6.0/net/http/response.rb:382:in `inflate': incorrect header check (Zlib::DataError)
The text was updated successfully, but these errors were encountered:
AntoineBecquet
No branches or pull requests
If two requests are made on the time on different threads, it can generate an invalid request.
1 thread, OK :
2 threads, KO :
The text was updated successfully, but these errors were encountered: