mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
lwip/http_clnt: circumvent LWIP cleanup exceptions
Cleaning up LWIP when returning from the main function sporadically leads to endless errors "Error: sys_arch_mbox_fetch: unknown exception occured!". We let the client sleep forever at the end of its main function to prevent tests from failing due to a flooded log. Reg #2193
This commit is contained in:
parent
c9f7e9dbb2
commit
b57834f26b
@ -19,6 +19,7 @@
|
||||
#include <timer_session/connection.h>
|
||||
#include <nic/packet_allocator.h>
|
||||
#include <os/config.h>
|
||||
#include <base/sleep.h>
|
||||
|
||||
extern "C" {
|
||||
#include <lwip/sockets.h>
|
||||
@ -166,5 +167,13 @@ int main()
|
||||
}
|
||||
|
||||
log("Test done");
|
||||
|
||||
/*
|
||||
* FIXME Cleaning up LWIP when returning from the main function
|
||||
* sporadically leads to endless errors "Error: sys_arch_mbox_fetch:
|
||||
* unknown exception occured!". We let the client sleep here to
|
||||
* prevent tests from failing due to a flooded log.
|
||||
*/
|
||||
sleep_forever();
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user