Hi, The server is esp8266, client is Linux. This is my code: https://github.com/hiperiondev/esp8266-libssh This test has a minimal client, nothing complex. When send data it works with one character at time. The problem is that not send the buffer after ssh_channel_write, continue accumulating and send after finish. I can't understand why.
Sorry for my bad english El jue., 30 de jul. de 2020 a la(s) 06:37, Anderson Sasaki ( [email protected]) escribió: > > > ----- Original Message ----- > > From: "Emiliano Gonzalez" <[email protected]> > > To: [email protected] > > Sent: Tuesday, July 28, 2020 11:18:52 PM > > Subject: libssh with fixed max data lenght on esp8266 > > > > Hello, > > > I'm using libssh on ESP8266 and it works well. > > > > The problem is when call ssh_channel_write does not send immediately and > > continues enlarging the buffer (calling realloc_buffer). > > > > Is possible to send buffer after some fixed length? > > > > I'm trying to understand the exact scenario, could you share more > information (backtraces and debug logs help a lot here)? > > What you are running on ESP8266, the client or the server (or maybe both)? > Could you also provide info on your hardware? > > Regards, > Anderson > > >
