lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Once again about waiting for ACK


From: Алексей Лыткин
Subject: [lwip-users] Once again about waiting for ACK
Date: Sat, 5 May 2012 15:46:01 +0400

Hi everyone.

Problem Prefrace

1. I got as a start point project from FreeRTOS Demos: lwIP_Demo_Rowley_ARM7.
2. Remaked It for IAR.
3. Everything fine.
4. Then I changed lwIP1.1 in demo to lwIP1.4
5. Some code rewrited: sys_arch.c lwipopts.h BasicWEB.c (only
netconn_xxx functions calls changed)
6. Web Server works, BUT - here is the problem

Problem Scenario

1. One side: PC - web browser Chrome (192.168.0.104); other side SAM7X
- lwIP 1.4.0 based web server (192.168.0.205)
2. PC initializes connection
3. Connection accepted by SAM7X
4. PC send HTTP request "GET..."
5. SAM7X sends HTTP "HTTP/1.0 200 OK..."
6. Then SAM7X waits for ACK for packet "HTTP/1.0 200 OK..." - WHY????
with lwIP1.1 no waiting occured
7. Only after receiving ACK it sends rest of HTTP answer
"<HTML><HEAD>..._page_content_...</HTML>"
8. Connection closing.

Problem
How to avoid ACK-waiting?

lwip_stats structure shows no memory problems.

Attaching Wireshark log and lwipopt.h

Thanks for any help.

Attachment: wiresh_log.pcap
Description: Binary data

Attachment: lwipopts.h
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]