Home
last modified time | relevance | path

Searched refs:reply (Results 1 – 9 of 9) sorted by relevance

/libevent-2.1.12/include/event2/
H A Drpc.h180 struct rplystruct* reply; \
197 struct evrpc_pool *pool, void *request, void *reply,
220 pool, request, reply, cb, cbarg) \ argument
221 evrpc_make_request_ctx(pool, request, reply, \
241 struct reqstruct *request, struct rplystruct *reply, \
245 return evrpc_send_request_generic(pool, request, reply, \
336 (void *(*)(void *))reply##_new_with_arg, NULL, \
337 (void (*)(void *))reply##_free, \
338 (int (*)(void *))reply##_complete, \
339 (void (*)(struct evbuffer *, void *))reply##_marshal)
[all …]
/libevent-2.1.12/
H A Devrpc.c366 if (rpc_state->reply == NULL) in evrpc_request_cb_closure()
393 if (rpc_state->reply != NULL) in evrpc_reqstate_free_()
394 rpc->reply_free(rpc_state->reply); in evrpc_reqstate_free_()
414 if (rpc->reply_complete(rpc_state->reply) == -1) { in evrpc_request_done()
470 return req->reply; in evrpc_get_reply()
824 struct evrpc_pool *pool, void *request, void *reply, in evrpc_make_request_ctx() argument
848 ctx->reply = reply; in evrpc_make_request_ctx()
937 ctx->reply_clear(ctx->reply); in evrpc_reply_done_closure()
1080 void *request, void *reply, in evrpc_send_request_generic() argument
1090 ctx = evrpc_make_request_ctx(pool, request, reply, in evrpc_send_request_generic()
[all …]
H A Devrpc-internal.h144 void *reply; member
189 void (*cb)(struct evrpc_status*, void *request, void *reply, void *arg);
193 void *reply; member
H A Devdns.c200 struct reply { struct
785 struct reply reply; member
850 if (reply) { in reply_schedule_callback()
852 memcpy(&d->reply, reply, sizeof(struct reply)); in reply_schedule_callback()
896 if (flags & (_RCODE_MASK | _TC_MASK) || !reply || !reply->have_answer) { in reply_handle()
907 } else if (reply && !reply->have_answer) { in reply_handle()
1044 struct reply reply; in reply_parse() local
1063 memset(&reply, 0, sizeof(reply)); in reply_parse()
1138 memcpy(&reply.data.a.addresses[reply.data.a.addrcount], in reply_parse()
1142 reply.have_answer = 1; in reply_parse()
[all …]
H A DChangeLog-1.497 o Fix a bug in which the DNS server would incorrectly set the type of a cname reply to a.
135 o include Content-Length in reply for HTTP/1.0 requests with keep-alive
H A DChangeLog-2.0164 o Empty DNS reply with OK status is another way to say NODATA. (21a08d6 Leonid Evdokimov)
443 o reset "chunked" flag when sending non-chunked reply (aa5f55f Joachim Bauch)
741 o Expose the request and reply members of rpc_req_generic() (07edf78 Shuo Chen)
1182 o include Content-Length in reply for HTTP/1.0 requests with keep-alive
H A DChangeLog227 o Fix crashing http server when callback do not reply in place (5b40744d, b2581380)
1593 o Empty DNS reply with OK status is another way to say NODATA. (21a08d6 Leonid Evdokimov)
/libevent-2.1.12/test/
H A Dregress_http.c3447 struct evbuffer *reply = arg; in http_stream_in_chunk() local
3454 evbuffer_add_buffer(reply, evhttp_request_get_input_buffer(req)); in http_stream_in_chunk()
3476 struct evbuffer *reply = evbuffer_new(); in http_stream_in_test_() local
3486 req = evhttp_request_new(http_stream_in_done, reply); in http_stream_in_test_()
3496 if (evbuffer_get_length(reply) != expected_len) { in http_stream_in_test_()
3498 (unsigned long)evbuffer_get_length(reply), in http_stream_in_test_()
3500 (char*)evbuffer_pullup(reply, -1))); in http_stream_in_test_()
3503 if (memcmp(evbuffer_pullup(reply, -1), expected, expected_len) != 0) { in http_stream_in_test_()
3509 if (reply) in http_stream_in_test_()
3510 evbuffer_free(reply); in http_stream_in_test_()
H A Dregress_rpc.c109 struct kill* kill_reply = rpc->reply; in MessageCb()