On 11/24/19 4:31 PM, Erdem wrote:

I try a simple application.

import vibe.d;

void kök(HTTPServerRequest istek, HTTPServerResponse yanıt)
     yanıt.writeBody("Merhaba, Dünya!");

void main()
	auto ayarlar = new HTTPServerSettings;
     ayarlar.port = 8080;
     ayarlar.bindAddresses = ["::1", ""];
	listenHTTP(ayarlar, &kök);

	logInfo("Lütfen tarayıcınızda adresini açınız.");

It works as expected for the first time. But when I close the application using Ctrl-D or Ctrl-Z key combination I get an error like this.

You can have the OS hold open connections, but they will be in TIMEWAIT
mode or something like that. Though it appears that you aren't actually
exiting the program? Ctrl-Z backgrounds the program, that won't kill it.
Ctrl-D doesn't kill the application, but exits your shell.