OpenTCP/http_server.c
Bob Furber <[email protected]> Mon, 09 Jun 2008 17:09:44 -0700
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers.coldfire |
|---|---|
| Organization | Intec Automation Inc. |
| Message-ID | <[email protected]> |
X-SpamDetect-Info: ------------- Start ASpam results --------------- X-SpamDetect-Info: This message may be spam. This message BODY has been altered to show you the spam information X-SpamDetect: *****: 5.100000 DodgySource=2.0, SPF Default Fail=2.5, X-Verify-SMTP present=0.6 X-SpamDetect-Info: ------------- End ASpam results ----------------- Forgive me if this is not the appropriate list for posting an OpenTCP question. But I have not succeeded in finding a more appropriate list. I am trying to port the OpenTCP stack to the ColdFire and I am running into problems uploading files (target -> client) that are too large to fit in one frame. I get a TCP_EVENT_REGENERATE event. My understanding is that a TCP_EVENT_REGENERATE event is very rare. So, in digging through the code, I notice something that does not seem quite right: So long as there is unacknowledged data (i.e., file) remaining to be sent, https_run() in the main loop loads the TCP Tx buffer with data. It does NOT CHECK if the previous frame has been acknowledged. By doing this, is there not a risk that https_run() could overfeed the client. Can anyone shed some light on this? Thanks, Bob Furber --- [email protected] Send a post to the list. [email protected] Join the list. [email protected] Join the list in digest mode. [email protected] Leave the list.