Project

General

Profile

lighttpd-fast-exit-gthread_aio.diff

peto, 2008-11-29 23:40

View differences:

network_gthread_aio.c (working copy)
107 107
		g_time_val_add(&ts, 500 * 1000);
108 108

  
109 109
		if ((wj = g_async_queue_timed_pop(inq, &ts))) {
110
			if(wj == (write_job *) 1)
111
				continue; /* just notifying us that srv->is_shutdown changed */
112

  
110 113
			/* let's see what we have to stat */
111 114
			ssize_t r;
112 115
			off_t offset;