From ca1a0fa5e99ed315aad60b9fb939619dda240f07 Mon Sep 17 00:00:00 2001 From: zzz Date: Wed, 17 Jun 2015 13:51:27 +0000 Subject: [PATCH] streaming updates --- i2p2www/pages/site/docs/api/streaming.html | 28 +++++++++++++-------- i2p2www/pages/site/docs/spec/streaming.html | 6 ++--- 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/i2p2www/pages/site/docs/api/streaming.html b/i2p2www/pages/site/docs/api/streaming.html index d15c51c8..d5468b13 100644 --- a/i2p2www/pages/site/docs/api/streaming.html +++ b/i2p2www/pages/site/docs/api/streaming.html @@ -1,7 +1,7 @@ {% extends "global/layout.html" %} {% block title %}{% trans %}Streaming Library{% endtrans %}{% endblock %} -{% block lastupdated %}{% trans %}December 2013{% endtrans %}{% endblock %} -{% block accuratefor %}0.9.9{% endblock %} +{% block lastupdated %}{% trans %}June 2015{% endtrans %}{% endblock %} +{% block accuratefor %}0.9.20{% endblock %} {% block content %}

{% trans %}Overview{% endtrans %}

@@ -206,8 +206,11 @@ As of release {{ release }}. What to do on an inactivity timeout - do nothing, disconnect, or send a duplicate ack. {%- endtrans %} -i2p.streaming.inactivityTimeout90*1000 -i2p.streaming.initialAckDelay2000 +i2p.streaming.inactivityTimeout90*1000 +{% trans %}Idle time before sending a keepalive{% endtrans %} + +i2p.streaming.initialAckDelay750 +{% trans %}Delay before sending an ack{% endtrans %} i2p.streaming.initialResendDelay1000{% trans -%} The initial value of the resend delay field in the packet header, times 1000. @@ -419,7 +422,7 @@ There is no ping function at the I2CP layer (equivalent to ICMP echo) or in data This function is provided in streaming. Pings and pongs may not be combined with a standard streaming packet; if the ECHO option is set, then -most other flags, options, ackThrough, sequenceNum, NACKs, payload, etc. are ignored. +most other flags, options, ackThrough, sequenceNum, NACKs, etc. are ignored. {%- endtrans %}

{% trans -%} @@ -434,6 +437,11 @@ The sendStreamId must be zero, and the receiveStreamId is the sendStreamId from The pong packet does not include any payload that was contained in the ping. {%- endtrans %}

+

{% trans -%} +As of release 0.9.18, pings and pongs may contain a payload. +The payload in the ping, up to a maximum of 32 bytes, is returned in the pong. +{%- endtrans %}

+

{% trans -%} Streaming may be configured to disable sending pongs with the configuration i2p.streaming.answerPings=false. {%- endtrans %}

@@ -466,18 +474,18 @@ The following Control Block Sharing parameters can be set per router: The following parameters are hardcoded, but may be of interest for analysis: {%- endtrans %}

diff --git a/i2p2www/pages/site/docs/spec/streaming.html b/i2p2www/pages/site/docs/spec/streaming.html index d1b7f25c..9925a405 100644 --- a/i2p2www/pages/site/docs/spec/streaming.html +++ b/i2p2www/pages/site/docs/spec/streaming.html @@ -1,7 +1,7 @@ {% extends "global/layout.html" %} {% block title %}{% trans %}Streaming Library Specification{% endtrans %}{% endblock %} -{% block lastupdated %}{% trans %}April 2015{% endtrans %}{% endblock %} -{% block accuratefor %}0.9.19{% endblock %} +{% block lastupdated %}{% trans %}June 2015{% endtrans %}{% endblock %} +{% block accuratefor %}0.9.20{% endblock %} {% block content %}

{% trans -%} See the Streaming page for an overview of the Streaming Library. @@ -135,7 +135,7 @@ Was also sent in retransmitted packets until release 0.9.1. Unused or ignored; the interactive profile is unimplemented. 9ECHO---- Unused except by ping programs. -If set, most other options, and the payload, are ignored. See +If set, most other options are ignored. See the streaming docs. 10NO_ACK---- This flag simply tells the recipient to ignore the ackThrough field in the header.