71
71
void download_properties () {
72
82
var test_address = new Soup.Address ("127.0.0.1", Soup.ADDRESS_ANY_PORT);
73
83
test_address.resolve_sync (null);
74
84
var test_server = new Soup.Server ("interface", test_address, null);
76
85
test_server.run_async ();
77
89
test_server.add_handler ("/", (server, msg, path, query, client)=>{
78
90
Thread.usleep (1000000); /* 1 seconds in µs */
79
91
if ("/not_found/" in path)