Skip to content

Commit

Permalink
Fixed ssl clients disconnecting on busy instead of retry write.
Browse files Browse the repository at this point in the history
████ ███  To request new features or in case this commit breaks something for you,
████ ███  please, create a new github issue with all possible information for me,
▓███▀█▄   but never share your API Keys!
▒▓██ ███
░▒▓█ ███  Signed-off-by: Carles Tubio <ctubio@users.noreply.github.com>
 _________________________________________
/ Hello, WORLD!                           \
|                                         |
\ pssst.. 1.00000000 BTC = 57032.58 EUR.  /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
  • Loading branch information
ctubio committed Oct 7, 2024
1 parent 7d5d4a9 commit ba37200
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ K ?= K.sh
MAJOR = 0
MINOR = 7
PATCH = 0
BUILD = 32
BUILD = 33

OBLIGATORY = DISCLAIMER: This is strict non-violent software: \n$\
if you hurt other living creatures, please stop; \n$\
Expand Down
1 change: 1 addition & 0 deletions src/lib/Krypto.ninja-data.h
Original file line number Diff line number Diff line change
Expand Up @@ -1290,6 +1290,7 @@ namespace ₿ {
SSL_set_accept_state(ssl);
SSL_set_fd(ssl, clientfd);
SSL_set_mode(ssl, SSL_MODE_RELEASE_BUFFERS);
SSL_set_mode(ssl, SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER);
}
requests.emplace_back(clientfd, loopfd, ssl, &session);
};
Expand Down

0 comments on commit ba37200

Please sign in to comment.