diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-11-20 09:56:22 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-11-20 09:56:22 +0000 |
commit | b8cbf427301f1b5d2c0cfaa2af790c08287cfb9e (patch) | |
tree | a706f5b0ccaff4ece1f5eaa0515f374a6ae85dab /src/transport/plugin_transport_http_client.c | |
parent | 5ccd7acfa1ed8157feda8ff53dff7d2772f3d1ed (diff) | |
download | gnunet-b8cbf427301f1b5d2c0cfaa2af790c08287cfb9e.tar.gz gnunet-b8cbf427301f1b5d2c0cfaa2af790c08287cfb9e.zip |
renaming timeout constants
Diffstat (limited to 'src/transport/plugin_transport_http_client.c')
-rw-r--r-- | src/transport/plugin_transport_http_client.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c index 79c34c641..ba125aaaa 100644 --- a/src/transport/plugin_transport_http_client.c +++ b/src/transport/plugin_transport_http_client.c | |||
@@ -1603,7 +1603,7 @@ client_session_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc | |||
1603 | GNUNET_log (TIMEOUT_LOG, | 1603 | GNUNET_log (TIMEOUT_LOG, |
1604 | "Session %p was idle for %s, disconnecting\n", | 1604 | "Session %p was idle for %s, disconnecting\n", |
1605 | s, | 1605 | s, |
1606 | GNUNET_STRINGS_relative_time_to_string (CLIENT_SESSION_TIMEOUT, | 1606 | GNUNET_STRINGS_relative_time_to_string (HTTP_CLIENT_SESSION_TIMEOUT, |
1607 | GNUNET_YES)); | 1607 | GNUNET_YES)); |
1608 | 1608 | ||
1609 | /* call session destroy function */ | 1609 | /* call session destroy function */ |
@@ -1622,13 +1622,13 @@ client_start_session_timeout (struct Session *s) | |||
1622 | 1622 | ||
1623 | GNUNET_assert (NULL != s); | 1623 | GNUNET_assert (NULL != s); |
1624 | GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == s->timeout_task); | 1624 | GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == s->timeout_task); |
1625 | s->timeout_task = GNUNET_SCHEDULER_add_delayed (CLIENT_SESSION_TIMEOUT, | 1625 | s->timeout_task = GNUNET_SCHEDULER_add_delayed (HTTP_CLIENT_SESSION_TIMEOUT, |
1626 | &client_session_timeout, | 1626 | &client_session_timeout, |
1627 | s); | 1627 | s); |
1628 | GNUNET_log (TIMEOUT_LOG, | 1628 | GNUNET_log (TIMEOUT_LOG, |
1629 | "Timeout for session %p set to %s\n", | 1629 | "Timeout for session %p set to %s\n", |
1630 | s, | 1630 | s, |
1631 | GNUNET_STRINGS_relative_time_to_string (CLIENT_SESSION_TIMEOUT, | 1631 | GNUNET_STRINGS_relative_time_to_string (HTTP_CLIENT_SESSION_TIMEOUT, |
1632 | GNUNET_YES)); | 1632 | GNUNET_YES)); |
1633 | } | 1633 | } |
1634 | 1634 | ||
@@ -1646,13 +1646,13 @@ client_reschedule_session_timeout (struct Session *s) | |||
1646 | GNUNET_assert (GNUNET_SCHEDULER_NO_TASK != s->timeout_task); | 1646 | GNUNET_assert (GNUNET_SCHEDULER_NO_TASK != s->timeout_task); |
1647 | 1647 | ||
1648 | GNUNET_SCHEDULER_cancel (s->timeout_task); | 1648 | GNUNET_SCHEDULER_cancel (s->timeout_task); |
1649 | s->timeout_task = GNUNET_SCHEDULER_add_delayed (CLIENT_SESSION_TIMEOUT, | 1649 | s->timeout_task = GNUNET_SCHEDULER_add_delayed (HTTP_CLIENT_SESSION_TIMEOUT, |
1650 | &client_session_timeout, | 1650 | &client_session_timeout, |
1651 | s); | 1651 | s); |
1652 | GNUNET_log (TIMEOUT_LOG, | 1652 | GNUNET_log (TIMEOUT_LOG, |
1653 | "Timeout rescheduled for session %p set to %s\n", | 1653 | "Timeout rescheduled for session %p set to %s\n", |
1654 | s, | 1654 | s, |
1655 | GNUNET_STRINGS_relative_time_to_string (CLIENT_SESSION_TIMEOUT, | 1655 | GNUNET_STRINGS_relative_time_to_string (HTTP_CLIENT_SESSION_TIMEOUT, |
1656 | GNUNET_YES)); | 1656 | GNUNET_YES)); |
1657 | } | 1657 | } |
1658 | 1658 | ||