Open Zandrenel opened 3 months ago
I think some dependencies were upgraded this week, which might have lead to that regression.
However I don't think rolling back to an older version is a real fix. I've been working on a plugin interface. Once it's done, this predicates will be implemented using that interface. Current approach requires many moving parts and it's not a good fit.
If there's anything that can be done to assist with that I'd be interested, otherwise that sounds good and I hope that it goes well!
I had a http_server I was working on, it was working except its process would get the req then hang if I tried to make a http_open call in the request, the http_open call at the time worked separetely and the http_server worked perfectly fine except in that instance. I tried to update scryer-prolog + my system and since then a simple GET req to / on a http_server hangs and never returns response, same was true locally and tested on a separate computer running windows with a fresh scryer-prolog build.
Example of the steps I can take to recreate:
file contents, test.pl
$ scryer-prolog test.pl
?- server(3000).
Listening at 0.0.0.0:3000
next sending$ curl localhost:3000
results in no response ever reaching curl and the outputfrom prolog, also closing the terminal is impossible unless forcefully
test 2:
test 3:
so in test 1 it just never returns, in 2 it is fine with just the open, in 3 it never gets past the open. at the very least test 1 was working 2 weeks ago before i updated.