]> granicus.if.org Git - curl/commitdiff
LIBCURL-STRUCTS: clarify for multiplexing
authorDaniel Stenberg <daniel@haxx.se>
Thu, 4 Jun 2015 20:43:36 +0000 (22:43 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 4 Jun 2015 20:43:54 +0000 (22:43 +0200)
docs/LIBCURL-STRUCTS

index 136d17ce7fe030107d97965d7700be423b582000..11dee85398b395e1a8f8cff72b5db7af644d29e5 100644 (file)
@@ -52,6 +52,9 @@ for older and later versions as things don't change drastically that often.
   The libcurl source code generally use the name 'data' for the variable that
   points to the SessionHandle.
 
+  When doing multiplexed HTTP/2 transfers, each SessionHandle is associated
+  with an individual stream, sharing the same connectdata struct. Multiplexing
+  makes it even more important to keep things associated with the right thing!
 
   1.2 connectdata
 
@@ -70,7 +73,7 @@ for older and later versions as things don't change drastically that often.
   connection or the SessionHandle.
 
   Functions in libcurl will assume that connectdata->data points to the
-  SessionHandle that uses this connection.
+  SessionHandle that uses this connection (for the moment).
 
   As a special complexity, some protocols supported by libcurl require a
   special disconnect procedure that is more than just shutting down the