2022-08-30 03:35:30 +0000 | commented answer | I have implemented a TCP/IP stack on a PIC24 - I have an issue transferring larger files That was it. Thank you so much for your time helping me out. I had an 'automatic' packet begin call that occurred after |
2022-08-30 03:34:50 +0000 | marked best answer | I have implemented a TCP/IP stack on a PIC24 - I have an issue transferring larger files Some preliminary information:
I have one last issue with my server implementation that I just cannot figure out. If the request is for a somewhat small file, usually the transfer happens without issue. When requesting larger files, the file transfer stalls. My test case that works: Open a tab and enter http://SA-8.lan/favicon.ico. Hold shift and click on refresh. All works ok. favicon.ico is 489 bytes. My test case that fails: Open a tab and enter http://sa-8.lan/js/math.min.js. Hold shift and click on refresh. Fails. math.min.js is 451.4 kB This issue is that when the page is refreshed on the large file transfer, Firefox initiates a second HTTP request during the transfer of math.min.js. This should not present a problem as my server opens another socket (because the port number is different) and handles the 2nd request. What's odd is that when the next packet of the first socket is sent, the browser does not ACK it. The sequence and ack numbers all look fine. Wireshark recognizes it as a TCP segment of a reassembled PDU. For some reason that I cannot understand, the browser does not ACK and, after a long delay, sends a TCP Keep-Alive with the Sequence # minus 1. Why does the browser not respond to my packet segment? Apparently I cannot attach the wireshark pcap until I have >60 something, so here is a link to a shared file: https://ln5.sync.com/dl/ac4466430/ykdcndnf-2tkf7zuk-fk2nuujs-q5ytenpk. Also, here are the pertinent packet bytes in text form - Transaction No. 86 does not get a reply. Why? (more) |
2022-08-30 03:34:50 +0000 | received badge | ● Scholar (source) |
2022-08-30 03:34:38 +0000 | commented answer | I have implemented a TCP/IP stack on a PIC24 - I have an issue transferring larger files That was it. Thank you so much for your time helping me out. I had an 'automatic' packet begin call that occurred after |
2022-08-29 16:36:58 +0000 | edited question | I have implemented a TCP/IP stack on a PIC24 - I have an issue transferring larger files I have implemented a TCP/IP stack on a PIC24 - I have an issue transferring larger files Some preliminary information: |
2022-08-29 16:28:01 +0000 | commented question | I have implemented a TCP/IP stack on a PIC24 - I have an issue transferring larger files My mistake - I posted a version of the capture where I was experimenting with limiting the number of allowed HTTP socket |
2022-08-29 16:26:07 +0000 | edited question | I have implemented a TCP/IP stack on a PIC24 - I have an issue transferring larger files I have implemented a TCP/IP stack on a PIC24 - I have an issue transferring larger files Some preliminary information: |
2022-08-29 14:56:29 +0000 | commented question | I have implemented a TCP/IP stack on a PIC24 - I have an issue transferring larger files Excellent suggestion. Done. I guess I was too tired to think straight when I posted my question (after 1AM local time). |
2022-08-29 14:54:03 +0000 | edited question | I have implemented a TCP/IP stack on a PIC24 - I have an issue transferring larger files I have implemented a TCP/IP stack on a PIC24 - I have an issue transferring larger files Some preliminary information: |
2022-08-29 05:08:57 +0000 | received badge | ● Editor (source) |
2022-08-29 05:08:57 +0000 | edited question | I have implemented a TCP/IP stack on a PIC24 - I have an issue transferring larger files I have implemented a TCP/IP stack on a PIC24 - I have an issue transferring larger files Some preliminary information: |
2022-08-29 05:08:13 +0000 | asked a question | I have implemented a TCP/IP stack on a PIC24 - I have an issue transferring larger files I have implemented a TCP/IP stack on a PIC24 - issue with large .js Some preliminary information: Browser - Firefox 10 |