lwIP - A Lightweight TCP/IP stack - Bugs: bug #52836, altcp_write error because of...
You are not allowed to post comments on this tracker with your current authentication level.
bug #52836: altcp_write error because of invalid sndbuf available returned
Submitter: | David GIRAULT <dgirault> | ||
Submitted: | Mon 08 Jan 2018 02:12:42 PM UTC | ||
Category: | apps | Severity: | 3 - Normal |
Item Group: | None | Status: | Fixed |
Privacy: | Public | Assigned to: | goldsimon |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | git head |
Jump to the original submission
Thu 25 Jan 2018 12:16:09 PM UTC, comment #8: |
Simon Goldschmidt <goldsimon> |
Wed 24 Jan 2018 02:59:52 PM UTC, comment #7: Well, if compression is enabled, we should expect enough gain to leave space for `ssl_added`, right? So I think it should be ok to return inner sndbuf.
|
David GIRAULT <dgirault> |
Mon 22 Jan 2018 06:57:45 PM UTC, comment #6: Nice idea. Just what do we do if this function fails (e.g. if compression is enabled)? Is it OK to return the inner sndbuf in this case? |
Simon Goldschmidt <goldsimon> |
Mon 22 Jan 2018 03:54:29 PM UTC, comment #5: Hi Simon,
|
David GIRAULT <dgirault> |
Mon 15 Jan 2018 03:46:32 PM UTC, comment #4: Sorry, have no time to reply before.
|
David GIRAULT <dgirault> |
Thu 11 Jan 2018 10:19:47 AM UTC, comment #3: Pushed slightly changed. I hope you don't mind that you're the committer and I edited it... |
Simon Goldschmidt <goldsimon> |
Mon 08 Jan 2018 08:52:10 PM UTC, comment #2: Also, does the "sndbuf" depend on the fragment size? I would have thought a larger write would come through as long as the additional overhead of a 2nd (3rd...) fragment fits the sndbuf. Although it's probably not worth the calculation? |
Simon Goldschmidt <goldsimon> |
Mon 08 Jan 2018 08:47:32 PM UTC, comment #1: And again, I can't apply this patch to my sources :-(
|
Simon Goldschmidt <goldsimon> |
Mon 08 Jan 2018 02:12:42 PM UTC, original submission:
While using MQTT over an SSL connexion, using MQTT_OUTPUT_RINGBUF_SIZE == 8192, we got error when altcp_write() when our MQTT message reach 2*MSS.
|
David GIRAULT <dgirault> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 7 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2018-01-25 | goldsimon | Open/Closed | Open | Closed | |
2018-01-24 | dziegel | Open/Closed | Closed | Open | |
2018-01-11 | goldsimon | Status | In Progress | Fixed | |
Open/Closed | Open | Closed | |||
2018-01-08 | goldsimon | Status | None | In Progress | |
Assigned to | None | goldsimon | |||
2018-01-08 | dgirault | Attached File | - | Added altcp_mbedtls_sndbuf.patch, #42870 |
Powered by Savane 3.13-4448.
Corresponding source code
Should be fixed again.