Home
last modified time | relevance | path

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

/libevent-2.1.12/test/
H A Dbench.c151 const char **methods; local
177 methods = event_get_supported_methods();
180 for (i = 0; methods[i] != NULL; ++i)
181 printf(" %s\n", methods[i]);
206 methods = event_get_supported_methods();
207 for (i = 0; methods[i] != NULL; ++i)
208 if (strcmp(methods[i], method))
209 event_config_avoid_method(cfg, methods[i]);
H A Dregress.c2567 const char **methods = event_get_supported_methods(); in test_methods() local
2573 tt_assert(methods); in test_methods()
2575 backend = methods[0]; in test_methods()
2576 while (*methods != NULL) { in test_methods()
2577 TT_BLATHER(("Support method: %s", *methods)); in test_methods()
2578 ++methods; in test_methods()
/libevent-2.1.12/include/event2/
H A Dhttp.h249 void evhttp_set_allowed_methods(struct evhttp* http, ev_uint16_t methods);
/libevent-2.1.12/
H A Devent.c1106 static const char **methods = NULL; in event_get_supported_methods() local
1127 if (methods != NULL) in event_get_supported_methods()
1128 mm_free((char**)methods); in event_get_supported_methods()
1130 methods = tmp; in event_get_supported_methods()
1132 return (methods); in event_get_supported_methods()
H A DChangeLog-2.0236 o Avoid a segfault when all methods are disabled or broken (27ce38b)
425 o Define enumerators for all HTTP methods, including PATCH from RFC5789 (75a7341 Felix Nawothnig)
434 o Tweak interface for allowed methods (f5b391e)
499 o Units test for unexpected evhttp methods. (75e3320)
1126 …o event_get_supported_methods() now lists methods that have been disabled with the EVENT_NO* envir…
1192 o make event methods static so that they are not exported; from Andrei Nigmatulin
H A DChangeLog-1.4139 o make event methods static so that they are not exported; from Andrei Nigmatulin
H A Dhttp.c3908 evhttp_set_allowed_methods(struct evhttp* http, ev_uint16_t methods) in evhttp_set_allowed_methods() argument
3910 http->allowed_methods = methods; in evhttp_set_allowed_methods()
H A Dwhatsnew-2.0.txt588 Libevent now lets you declare support for all specified HTTP methods,
H A DChangeLog1665 o Avoid a segfault when all methods are disabled or broken (27ce38b)