<!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->
<!-- Describe the issue -->
Summary
Sending ~200KB to bitcoind via RPC causes ECONNABORT for its connection.
Such operation cannot be possible via bitcoin-cli due to Linux's limitation, so it has to be done via HTTP libraries.
Confirmed on sendrawtransaction.
<!--- What behavior did you expect? -->
Expected
If you did sendrawtransaction <A Transaction that is very close to the weight limit>, it should return transaction hash.
Any other calls like getwalletinfo should work too.
<!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->
Actual
ECONNABORT occured for sendrawtransaction <A Transaction that is very close to the weight limit>.
Any other calls like getwalletinfo worked normally.
<!--- How reliably can you reproduce the issue, what are the steps to do so? -->
Steps to reproduce
- Enable RPC
- Try example at
Expectedfield.- To make such transaction, you may use 1 input and set 2910 outputs.
ECONNABORToccured.
<!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->
Bitcoin Core version
0.17.0.1, with binaries at website.
<!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->
Computer information
$ uname -a
Linux *** [#42](/bitcoin-bitcoin/42/)-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
<!-- Any extra information that might be useful in the debugging process. -->
<!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->