diem you can try to use x-mixed-replace, see http://code.google.com/p/msgbus/
guillaume 2009/4/26 Diem <di...@inbox.ru>: > Hi, sorry for my bad english. > I have callback function for requests processing. > > void generic_handler(struct evhttp_request *req, void *arg) > { > int i; > struct evbuffer *evbuf; > > evhttp_send_reply_start(req, HTTP_OK, "OK"); > > for (i=0; i<10; ++i) > { > evbuf = evbuffer_new(); > evbuffer_add(evbuf, "123456789\n<br>", 14); > evhttp_send_reply_chunk(req, evbuf); > printf("sended\n"); > evbuffer_free(evbuf); > sleep(1); > } > evhttp_send_reply_end(req); > } > > I want so my browser get data partialy, but i can see result only after > ending of a cycle. > How i want to made this ? > > _______________________________________________ > Libevent-users mailing list > Libevent-users@monkey.org > http://monkeymail.org/mailman/listinfo/libevent-users > _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users