Lines Matching defs:connection

475         log_debug("Added RemoteSource as connection metadata %p", source);
482 struct MHD_Connection *connection,
491 log_debug("Cleaning up connection metadata %p", s);
498 struct MHD_Connection *connection,
509 log_trace("%s: connection %p, %zu bytes",
510 __func__, connection, *upload_data_size);
517 return mhd_respond_oom(connection);
528 log_warning("Failed to process data for connection %p", connection);
530 return mhd_respondf(connection,
535 return mhd_respondf(connection,
549 return mhd_respondf(connection, MHD_HTTP_EXPECTATION_FAILED,
554 return mhd_respond(connection, MHD_HTTP_ACCEPTED, "OK.\n");
559 struct MHD_Connection *connection,
571 assert(connection);
576 log_trace("Handling a connection %s %s %s", method, url, version);
579 return process_http_upload(connection,
584 return mhd_respond(connection, MHD_HTTP_NOT_ACCEPTABLE,
588 return mhd_respond(connection, MHD_HTTP_NOT_FOUND,
591 header = MHD_lookup_connection_value(connection,
594 return mhd_respond(connection, MHD_HTTP_UNSUPPORTED_MEDIA_TYPE,
601 ci = MHD_get_connection_info(connection,
605 return mhd_respond(connection, MHD_HTTP_INTERNAL_SERVER_ERROR,
614 r = check_permissions(connection, &code, &hostname);
620 return mhd_respond(connection, MHD_HTTP_INTERNAL_SERVER_ERROR,
628 return respond_oom(connection);
630 return mhd_respond(connection, MHD_HTTP_INTERNAL_SERVER_ERROR,
880 log_debug("Received a connection socket (fd:%d) from %s", fd, hostname);
1064 log_debug_errno(r, "Closing connection: %m");
1119 log_debug("Accepting new %s connection on fd:%d", type, fd);
1144 log_debug("Accepted %s %s connection from %s",
1154 log_error("Rejected %s connection with unsupported family %d",