Sorry for the lack of a runnable example. I used openURI for downloading a set of web pages and the program used to terminate in a non-reproducable way after some downloads. It was especially suspicious that there was no message on termination, contrary to an exit from a Haskell program via error or an exception. I replaced openURI by HTTP:simpleHTTP and the problem was gone.
Sorry for the lack of a runnable example. I used
openURI
for downloading a set of web pages and the program used to terminate in a non-reproducable way after some downloads. It was especially suspicious that there was no message on termination, contrary to an exit from a Haskell program viaerror
or an exception. I replacedopenURI
byHTTP:simpleHTTP
and the problem was gone.