Re: [lwip-users] pbuf leak for HTTP POST

2014-09-26 Thread Sergio R. Caprile
 Can you check the current git version of the httpd? I discovered this problem 
 some weeks ago and hopefully, it's fixed in git. I'd be glad to hear someone 
 test it, as the POST code does not seem to be too widely used, or is it?

The POST code is one of the main reasons I forked off...
In my opinion, it is quite far from CGI standards so basically CGI POST code is 
difficult to write and non-portable
Sorry if I touched someone's feelings. My code sucks too ;^) 



___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


Re: [lwip-users] ppp-new remote-host

2014-09-26 Thread some1
Ok, so I realized that was complete garbage I wrote about the gateway.
Gateways are ofcourse not required for ppp, shame on me...

Anyways, I am a bit clueless why it is simply not possible for me to send
any packets through the gprs modem. I talked with both providers and they
assured me everything was ok. What I also did was dump packets being sent to
wireshark (hex dump) and wireshark confirmed that everything was ok. I also
checked with a logic analyzer that data was being transferred correctly to
the modem. So I must ask, did I find a potential bug here? Even though I am
at the moment unaware of the reason why it is happening, my assumption is
that something is going wrong before phase 8, thus were things are
negotiated.

Any ideas are more than welcome.

Tom 



--
View this message in context: 
http://lwip.100.n7.nabble.com/ppp-new-remote-host-tp23346p23353.html
Sent from the lwip-users mailing list archive at Nabble.com.

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


[lwip-users] lwip minimal example, echo server

2014-09-26 Thread Matthias Dübon
Hello everyone,

I am quite new to lwip and I tested the lwip minimal example in the
lwip-contrib folder under a linux (Ubuntu) system. The example is
running, I see SNMP output messages but I am not able resp. I don't
understand how to use the echo server.
I turned on all debug messages and used a simple echo client program.
When sending some data to the echo server I got the following error
message:

./SimpleEchoClient -a 192.168.0.111 -p 7
ECHOCLNT: Error calling connect()

The output of the echo server is:
...
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
pbuf_alloc(length=42)
pbuf_alloc: allocated pbuf 0x637538
pbuf_alloc(length=42) == 0x637538
ethernet_input: dest:ff:ff:ff:ff:ff:ff, src:7a:13:c2:69:33:0e, type:806
pbuf_free(0x637538)
pbuf_free: deallocating 0x637538
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
pbuf_alloc(length=42)
pbuf_alloc: allocated pbuf 0x637538
pbuf_alloc(length=42) == 0x637538
ethernet_input: dest:ff:ff:ff:ff:ff:ff, src:7a:13:c2:69:33:0e, type:806
pbuf_free(0x637538)
pbuf_free: deallocating 0x637538
tcp_slowtmr: no active pcbs
pbuf_alloc(length=42)
pbuf_alloc: allocated pbuf 0x637538
pbuf_alloc(length=42) == 0x637538
ethernet_input: dest:ff:ff:ff:ff:ff:ff, src:7a:13:c2:69:33:0e, type:806
pbuf_free(0x637538)
pbuf_free: deallocating 0x637538
tcp_slowtmr: no active pcbs
etharp_timer

could that be a problem with the tap0 device? Any hints how can I debug this?

best
Matthias
ᐧ

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users