[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libssh with fixed max data lenght on esp8266
[Thread Prev] | [Thread Next]
- Subject: Re: libssh with fixed max data lenght on esp8266
- From: Emiliano Gonzalez <egonzalez.hiperion@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 30 Jul 2020 11:01:43 -0300
- To: libssh@xxxxxxxxxx
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 ( ansasaki@xxxxxxxxxx) escribió: > > > ----- Original Message ----- > > From: "Emiliano Gonzalez" <egonzalez.hiperion@xxxxxxxxx> > > To: libssh@xxxxxxxxxx > > 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 > > >
libssh with fixed max data lenght on esp8266 | Emiliano Gonzalez <egonzalez.hiperion@xxxxxxxxx> |
Re: libssh with fixed max data lenght on esp8266 | Anderson Sasaki <ansasaki@xxxxxxxxxx> |