{"action":"created","issue":{"url":"https://api.github.com/repos/m-labs/smoltcp/issues/190","repository_url":"https://api.github.com/repos/m-labs/smoltcp","labels_url":"https://api.github.com/repos/m-labs/smoltcp/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/m-labs/smoltcp/issues/190/comments","events_url":"https://api.github.com/repos/m-labs/smoltcp/issues/190/events","html_url":"https://github.com/m-labs/smoltcp/pull/190","id":313117825,"number":190,"title":"Support for receiving fragmented IPv4 packets","user":{"login":"podhrmic","id":2790461,"avatar_url":"https://avatars2.githubusercontent.com/u/2790461?v=4","gravatar_id":"","url":"https://api.github.com/users/podhrmic","html_url":"https://github.com/podhrmic","followers_url":"https://api.github.com/users/podhrmic/followers","following_url":"https://api.github.com/users/podhrmic/following{/other_user}","gists_url":"https://api.github.com/users/podhrmic/gists{/gist_id}","starred_url":"https://api.github.com/users/podhrmic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/podhrmic/subscriptions","organizations_url":"https://api.github.com/users/podhrmic/orgs","repos_url":"https://api.github.com/users/podhrmic/repos","events_url":"https://api.github.com/users/podhrmic/events{/privacy}","received_events_url":"https://api.github.com/users/podhrmic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-04-10T22:58:28Z","updated_at":"2018-04-17T17:57:51Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/m-labs/smoltcp/pulls/190","html_url":"https://github.com/m-labs/smoltcp/pull/190","diff_url":"https://github.com/m-labs/smoltcp/pull/190.diff","patch_url":"https://github.com/m-labs/smoltcp/pull/190.patch"},"body":"Implemented as an optional feature. Provided tests and expanded `server.rs` example. The code should be self-explanatory. Tested with UDP and ICMP packets. Replaces #185 "},"comment":{"url":"https://api.github.com/repos/m-labs/smoltcp/issues/comments/382085457","html_url":"https://github.com/m-labs/smoltcp/pull/190#issuecomment-382085457","issue_url":"https://api.github.com/repos/m-labs/smoltcp/issues/190","id":382085457,"user":{"login":"podhrmic","id":2790461,"avatar_url":"https://avatars2.githubusercontent.com/u/2790461?v=4","gravatar_id":"","url":"https://api.github.com/users/podhrmic","html_url":"https://github.com/podhrmic","followers_url":"https://api.github.com/users/podhrmic/followers","following_url":"https://api.github.com/users/podhrmic/following{/other_user}","gists_url":"https://api.github.com/users/podhrmic/gists{/gist_id}","starred_url":"https://api.github.com/users/podhrmic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/podhrmic/subscriptions","organizations_url":"https://api.github.com/users/podhrmic/orgs","repos_url":"https://api.github.com/users/podhrmic/repos","events_url":"https://api.github.com/users/podhrmic/events{/privacy}","received_events_url":"https://api.github.com/users/podhrmic/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T17:57:51Z","updated_at":"2018-04-17T17:57:51Z","author_association":"NONE","body":"And one more question - in my `server_fragmented` example, I have the following rx buffer for UDP data:\r\n```Rust\r\nlet udp_rx_buffer = UdpSocketBuffer::new(vec![UdpPacketMetadata::EMPTY], vec![0; 9000]);\r\n```\r\n\r\nI can receive 2 reassembled packets, each 4096 bytes long, but the third one triggers this error:\r\n```\r\n[1523987506.48s] (iface::ethernet): cannot process ingress packet: buffer space exhausted\r\n```\r\n\r\nAm I missing something? Shouldn't the buffer be cleared once the packet is processed?A similar thing happens to the regular server example. "}}
{"actor":{"display_login":"podhrmic"}}