We are using net.Conn.Write(response) in our program were response is a json data of length 84317829 bytes.
Is there any chance for failure of write in golang when length of data is more ?
Because i could see that in one more scenario when length is 3585632 then write is working fine.
I have copied the error which i printed in the program,
(EXTRA string=write tcp 127.0.0.1:3988->
127.0.0.1:28459: write: broken pipe)
So could you please help here what could be reason for this issue ?
Please let me know if you need any other information.