Searched refs:target (Results 1 - 20 of 20) sorted by relevance

/dovecot/src/lib-http/
H A Dtest-http-request-parser.c26 } target; member in struct:http_request_valid_parse_test
45 .target = {
57 .target = {
68 .target = {
81 .target = {
98 .target = {
113 .target = {
126 .target = {
139 .target = {
152 .target
[all...]
H A Dtest-http-server.c86 str_printfa(content, "Host: %s", http_req->target.url->host.name);
87 if (http_req->target.url->port != 0)
88 str_printfa(content, ":%u", http_req->target.url->port);
90 switch (http_req->target.format) {
94 http_url_create(http_req->target.url));
98 http_url_create_authority(http_req->target.url));
105 /* Just respond with the request target */
H A Dhttp-request.h37 struct http_request_target target; member in struct:http_request
H A Dhttp-url.h54 struct http_request_target *target, const char **error_r);
H A Dhttp-client-request.c47 http_url_create_host(&req->origin_url), req->target);
58 if (req->target != NULL)
59 event_add_str(req->event, "target", req->target);
129 const char *method, const char *host, const char *target,
136 req->target = (target == NULL ? "/" : p_strdup(req->pool, target));
151 req->target = p_strdup(req->pool, http_url_create_target(target_url));
186 req->target
128 http_client_request(struct http_client *client, const char *method, const char *host, const char *target, http_client_request_callback_t *callback, void *context) argument
785 const char *authority, *target; local
1546 const char *error, *target, *origin_url; local
[all...]
H A Dhttp-client.h139 /* Failed to parse HTTP target url */
218 const char *method, const char *host, const char *target,
220 #define http_client_request(client, method, host, target, callback, context) \
221 http_client_request(client, method, host, target + \
373 /* return the HTTP target for the request */
H A Dhttp-url.c59 message as a request target or header field value. Before making
121 request-target = origin-form / absolute-form / authority-form /
195 * ["//"] authority ; when parsing a request target
208 parser->error = "Request target is invalid";
355 const char *host_header, pool_t pool, struct http_request_target *target,
381 target->url = url;
382 target->format = HTTP_REQUEST_TARGET_FORMAT_ASTERISK;
404 target->url = url_parser.url;
405 target->format = url_parser.req_format;
354 http_url_request_target_parse(const char *request_target, const char *host_header, pool_t pool, struct http_request_target *target, const char **error_r) argument
H A Dhttp-server.h295 struct http_server_request *req, struct http_url *target);
H A Dhttp-client-private.h87 const char *method, *target; member in struct:http_client_request
H A Dhttp-request-parser.c129 target properly encoded (FIXME). */
133 /* target is too long when explicit limit is exceeded or when input buffer
135 /* FIXME: put limit on full request line rather than target and method
137 /* FIXME: is it wise to keep target in stream buffer? It can become very
143 parser->parser.error = "HTTP request target is too long";
173 request-line = method SP request-target SP HTTP-version CRLF
232 ("Unexpected character %s in request target",
587 pool, &request->target, &error) < 0) {
589 *error_r = t_strdup_printf("Bad request target `%s': %s",
H A Dhttp-server-connection.c289 if (req->req.target.format != HTTP_REQUEST_TARGET_FORMAT_AUTHORITY) {
294 (conn->context, req, req->req.target.url);
H A Dtest-http-payload.c506 const char *path = hreq->target.url->path, *p;
/dovecot/src/lib-ntlm/
H A Dntlm-encrypt.h16 void ntlmssp_v2_response(const char *user, const char *target,
H A Dntlm-encrypt.c73 ntlm_v2_hash(const char *user, const char *target, argument
81 if (target != NULL)
82 hmac_md5_ucs2le_string_ucase(&ctx, target);
122 ntlmssp_v2_response(const char *user, const char *target, argument
131 ntlm_v2_hash(user, target, hash_v1, hash);
/dovecot/src/lib-imap-urlauth/
H A Dimap-urlauth-connection.c34 struct imap_urlauth_target *target; member in struct:imap_urlauth_request
79 /* userid => target struct */
165 struct imap_urlauth_target *target = conn->targets_head; local
167 while (target != NULL) {
168 if (strcmp(target->userid, target_user) == 0)
169 return target;
170 target = target->next;
173 target = i_new(struct imap_urlauth_target, 1);
174 target
180 imap_urlauth_target_free(struct imap_urlauth_connection *conn, struct imap_urlauth_target *target) argument
191 struct imap_urlauth_target *target = conn->targets_head; local
285 struct imap_urlauth_target *target; local
311 struct imap_urlauth_target *target = urlreq->target; local
386 imap_urlauth_target_abort(struct imap_urlauth_connection *conn, struct imap_urlauth_target *target) argument
402 imap_urlauth_target_fail(struct imap_urlauth_connection *conn, struct imap_urlauth_target *target, const char *error) argument
418 imap_urlauth_target_abort_by_context(struct imap_urlauth_connection *conn, struct imap_urlauth_target *target, void *context) argument
441 struct imap_urlauth_target *target, *next; local
459 struct imap_urlauth_target *target, *next; local
[all...]
/dovecot/src/doveadm/
H A Ddoveadm-util.h16 int doveadm_tcp_connect(const char *target, in_port_t default_port);
H A Ddoveadm-util.c124 int doveadm_tcp_connect(const char *target, in_port_t default_port) argument
129 if (net_str2hostport(target, default_port, &host, &port) < 0) {
131 "or use %s:port", target, target);
H A Ddoveadm-cmd.c364 ARRAY_TYPE(const_string) *target = argv;
366 target = &pargv;
381 array_append(target, &params[i].value.v_string,1);
385 array_append(target, &tmp, 1);
388 array_append(target, &tmp, 1);
393 array_append(target, cptr, 1);
H A Dclient-connection-http.c944 url = http_url_create(http_req->target.url);
948 http_req->method, http_req->target.url->path,
1111 strcmp(http_req->target.url->path,
H A Ddoveadm-dsync.c810 const char *target, bool ssl, const char **error_r)
820 server->name = p_strdup(ctx->ctx.pool, target);
808 dsync_connect_tcp(struct dsync_cmd_context *ctx, const struct mail_storage_settings *mail_set, const char *target, bool ssl, const char **error_r) argument

Completed in 650 milliseconds