• Home
  • Raw
  • Download

Lines Matching refs:session

174 	SoupSession *session;  in do_content_length_framing_test()  local
181 session = soup_test_session_new (SOUP_TYPE_SESSION_ASYNC, NULL); in do_content_length_framing_test()
186 soup_session_send_message (session, msg); in do_content_length_framing_test()
201 soup_session_send_message (session, msg); in do_content_length_framing_test()
211 soup_test_session_abort_unref (session); in do_content_length_framing_test()
215 request_started_socket_collector (SoupSession *session, SoupMessage *msg, in request_started_socket_collector() argument
239 do_timeout_test_for_session (SoupSession *session) in do_timeout_test_for_session() argument
246 g_signal_connect (session, "request-started", in do_timeout_test_for_session()
254 soup_session_send_message (session, msg); in do_timeout_test_for_session()
271 soup_session_send_message (session, msg); in do_timeout_test_for_session()
289 do_timeout_req_test_for_session (SoupSession *session) in do_timeout_req_test_for_session() argument
299 g_signal_connect (session, "request-started", in do_timeout_req_test_for_session()
305 req = soup_session_request_uri (session, timeout_uri, NULL); in do_timeout_req_test_for_session()
340 req = soup_session_request_uri (session, base_uri, NULL); in do_timeout_req_test_for_session()
376 SoupSession *session; in do_persistent_connection_timeout_test() local
381 session = soup_test_session_new (SOUP_TYPE_SESSION_ASYNC, NULL); in do_persistent_connection_timeout_test()
382 do_timeout_test_for_session (session); in do_persistent_connection_timeout_test()
383 soup_test_session_abort_unref (session); in do_persistent_connection_timeout_test()
386 session = soup_test_session_new (SOUP_TYPE_SESSION_ASYNC, in do_persistent_connection_timeout_test()
389 do_timeout_req_test_for_session (session); in do_persistent_connection_timeout_test()
390 soup_test_session_abort_unref (session); in do_persistent_connection_timeout_test()
393 session = soup_test_session_new (SOUP_TYPE_SESSION_SYNC, NULL); in do_persistent_connection_timeout_test()
394 do_timeout_test_for_session (session); in do_persistent_connection_timeout_test()
395 soup_test_session_abort_unref (session); in do_persistent_connection_timeout_test()
398 session = soup_test_session_new (SOUP_TYPE_SESSION_SYNC, NULL); in do_persistent_connection_timeout_test()
399 do_timeout_req_test_for_session (session); in do_persistent_connection_timeout_test()
400 soup_test_session_abort_unref (session); in do_persistent_connection_timeout_test()
404 cancel_cancellable_handler (SoupSession *session, SoupMessage *msg, in cancel_cancellable_handler() argument
413 SoupSession *session; in do_persistent_connection_timeout_test_with_cancellation() local
422 session = soup_test_session_new (SOUP_TYPE_SESSION_SYNC, NULL); in do_persistent_connection_timeout_test_with_cancellation()
424 g_signal_connect (session, "request-started", in do_persistent_connection_timeout_test_with_cancellation()
433 response = soup_session_send (session, msg, cancellable, NULL); in do_persistent_connection_timeout_test_with_cancellation()
463 g_signal_connect (session, "request-started", in do_persistent_connection_timeout_test_with_cancellation()
467 response = soup_session_send (session, msg, cancellable, NULL); in do_persistent_connection_timeout_test_with_cancellation()
491 soup_test_session_abort_unref (session); in do_persistent_connection_timeout_test_with_cancellation()
516 max_conns_request_started (SoupSession *session, SoupMessage *msg, in max_conns_request_started() argument
527 max_conns_message_complete (SoupSession *session, SoupMessage *msg, gpointer user_data) in max_conns_message_complete() argument
534 do_max_conns_test_for_session (SoupSession *session) in do_max_conns_test_for_session() argument
544 g_signal_connect (session, "request-started", in do_max_conns_test_for_session()
550 soup_session_queue_message (session, msgs[i], in do_max_conns_test_for_session()
566 soup_session_queue_message (session, msgs[i], in do_max_conns_test_for_session()
571 g_signal_handlers_disconnect_by_func (session, max_conns_request_started, NULL); in do_max_conns_test_for_session()
588 soup_session_cancel_message (session, msgs[i], SOUP_STATUS_CANCELLED); in do_max_conns_test_for_session()
605 SoupSession *session; in do_max_conns_test() local
610 session = soup_test_session_new (SOUP_TYPE_SESSION_ASYNC, in do_max_conns_test()
613 do_max_conns_test_for_session (session); in do_max_conns_test()
614 soup_test_session_abort_unref (session); in do_max_conns_test()
617 session = soup_test_session_new (SOUP_TYPE_SESSION_SYNC, in do_max_conns_test()
620 do_max_conns_test_for_session (session); in do_max_conns_test()
621 soup_test_session_abort_unref (session); in do_max_conns_test()
625 np_request_started (SoupSession *session, SoupMessage *msg, in np_request_started() argument
634 np_request_unqueued (SoupSession *session, SoupMessage *msg, in np_request_unqueued() argument
643 np_request_finished (SoupSession *session, SoupMessage *msg, in np_request_finished() argument
652 do_non_persistent_test_for_session (SoupSession *session) in do_non_persistent_test_for_session() argument
660 g_signal_connect (session, "request-started", in do_non_persistent_test_for_session()
663 g_signal_connect (session, "request-unqueued", in do_non_persistent_test_for_session()
670 soup_session_queue_message (session, msg, in do_non_persistent_test_for_session()
684 SoupSession *session; in do_non_persistent_connection_test() local
689 session = soup_test_session_new (SOUP_TYPE_SESSION_ASYNC, NULL); in do_non_persistent_connection_test()
690 do_non_persistent_test_for_session (session); in do_non_persistent_connection_test()
691 soup_test_session_abort_unref (session); in do_non_persistent_connection_test()
694 session = soup_test_session_new (SOUP_TYPE_SESSION_SYNC, NULL); in do_non_persistent_connection_test()
695 do_non_persistent_test_for_session (session); in do_non_persistent_connection_test()
696 soup_test_session_abort_unref (session); in do_non_persistent_connection_test()
700 do_non_idempotent_test_for_session (SoupSession *session) in do_non_idempotent_test_for_session() argument
706 g_signal_connect (session, "request-started", in do_non_idempotent_test_for_session()
712 soup_session_send_message (session, msg); in do_non_idempotent_test_for_session()
722 soup_session_send_message (session, msg); in do_non_idempotent_test_for_session()
738 SoupSession *session; in do_non_idempotent_connection_test() local
741 session = soup_test_session_new (SOUP_TYPE_SESSION_ASYNC, NULL); in do_non_idempotent_connection_test()
742 do_non_idempotent_test_for_session (session); in do_non_idempotent_connection_test()
743 soup_test_session_abort_unref (session); in do_non_idempotent_connection_test()
746 session = soup_test_session_new (SOUP_TYPE_SESSION_SYNC, NULL); in do_non_idempotent_connection_test()
747 do_non_idempotent_test_for_session (session); in do_non_idempotent_connection_test()
748 soup_test_session_abort_unref (session); in do_non_idempotent_connection_test()
787 connection_created (SoupSession *session, GObject *conn, in connection_created() argument
801 do_one_connection_state_test (SoupSession *session, const char *uri) in do_one_connection_state_test() argument
806 soup_session_send_message (session, msg); in do_one_connection_state_test()
809 soup_session_abort (session); in do_one_connection_state_test()
813 do_connection_state_test_for_session (SoupSession *session) in do_connection_state_test_for_session() argument
818 g_signal_connect (session, "connection-created", in do_connection_state_test_for_session()
823 do_one_connection_state_test (session, HTTP_SERVER); in do_connection_state_test_for_session()
827 do_one_connection_state_test (session, HTTPS_SERVER); in do_connection_state_test_for_session()
832 g_object_set (G_OBJECT (session), in do_connection_state_test_for_session()
838 do_one_connection_state_test (session, HTTP_SERVER); in do_connection_state_test_for_session()
842 do_one_connection_state_test (session, HTTPS_SERVER); in do_connection_state_test_for_session()
850 SoupSession *session; in do_connection_state_test() local
855 session = soup_test_session_new (SOUP_TYPE_SESSION_ASYNC, NULL); in do_connection_state_test()
856 do_connection_state_test_for_session (session); in do_connection_state_test()
857 soup_test_session_abort_unref (session); in do_connection_state_test()
860 session = soup_test_session_new (SOUP_TYPE_SESSION_SYNC, NULL); in do_connection_state_test()
861 do_connection_state_test_for_session (session); in do_connection_state_test()
862 soup_test_session_abort_unref (session); in do_connection_state_test()
938 do_one_connection_event_test (SoupSession *session, const char *uri, in do_one_connection_event_test() argument
947 soup_session_send_message (session, msg); in do_one_connection_event_test()
957 soup_session_abort (session); in do_one_connection_event_test()
961 do_connection_event_test_for_session (SoupSession *session) in do_connection_event_test_for_session() argument
966 do_one_connection_event_test (session, HTTP_SERVER, "rRcCx"); in do_connection_event_test_for_session()
970 do_one_connection_event_test (session, HTTPS_SERVER, "rRcCtTx"); in do_connection_event_test_for_session()
975 g_object_set (G_OBJECT (session), in do_connection_event_test_for_session()
981 do_one_connection_event_test (session, HTTP_SERVER, "rRcCx"); in do_connection_event_test_for_session()
985 do_one_connection_event_test (session, HTTPS_SERVER, "rRcCpPtTx"); in do_connection_event_test_for_session()
993 SoupSession *session; in do_connection_event_test() local
998 session = soup_test_session_new (SOUP_TYPE_SESSION_ASYNC, NULL); in do_connection_event_test()
999 do_connection_event_test_for_session (session); in do_connection_event_test()
1000 soup_test_session_abort_unref (session); in do_connection_event_test()
1003 session = soup_test_session_new (SOUP_TYPE_SESSION_SYNC, NULL); in do_connection_event_test()
1004 do_connection_event_test_for_session (session); in do_connection_event_test()
1005 soup_test_session_abort_unref (session); in do_connection_event_test()
1016 connect_progress (SoupSession *session, GSocketClientEvent event, GIOStream *connection, ConnectTes… in connect_progress() argument
1026 connect_finished (SoupSession *session, GAsyncResult *result, ConnectTestData *data) in connect_finished() argument
1028 data->stream = soup_session_connect_finish (session, result, &data->error); in connect_finished()
1033 do_one_connection_connect_test (SoupSession *session, SoupURI *uri, const char *response, const cha… in do_one_connection_connect_test() argument
1041 soup_session_connect_async (session, uri, NULL, in do_one_connection_connect_test()
1068 do_one_connection_connect_fail_test (SoupSession *session, SoupURI *uri, GQuark domain, gint code, … in do_one_connection_connect_fail_test() argument
1073 soup_session_connect_async (session, uri, NULL, in do_one_connection_connect_fail_test()
1095 SoupSession *session; in do_connection_connect_test() local
1106 session = soup_test_session_new (SOUP_TYPE_SESSION_ASYNC, in do_connection_connect_test()
1112 do_one_connection_connect_test (session, http_uri, in do_connection_connect_test()
1118 do_one_connection_connect_test (session, https_uri, in do_connection_connect_test()
1126 do_one_connection_connect_test (session, ws_uri, in do_connection_connect_test()
1132 do_one_connection_connect_test (session, wss_uri, in do_connection_connect_test()
1139 do_one_connection_connect_fail_test (session, file_uri, in do_connection_connect_test()
1146 do_one_connection_connect_fail_test (session, wrong_http_uri, in do_connection_connect_test()
1151 g_object_set (G_OBJECT (session), in do_connection_connect_test()
1156 do_one_connection_connect_test (session, http_uri, in do_connection_connect_test()
1161 do_one_connection_connect_test (session, https_uri, in do_connection_connect_test()
1167 do_one_connection_connect_test (session, ws_uri, in do_connection_connect_test()
1172 do_one_connection_connect_test (session, wss_uri, in do_connection_connect_test()
1187 soup_test_session_abort_unref (session); in do_connection_connect_test()