elsloo commented on a change in pull request #8089:
URL: https://github.com/apache/trafficserver/pull/8089#discussion_r672702577



##########
File path: plugins/experimental/slice/util.cc
##########
@@ -86,7 +86,8 @@ request_block(TSCont contp, Data *const data)
   }
 
   // create virtual connection back into ATS
-  TSVConn const upvc = TSHttpConnectWithPluginId(reinterpret_cast<sockaddr 
*>(&data->m_client_ip), PLUGIN_NAME, 0);
+  TSVConn const upvc = TSHttpConnectPlugin(reinterpret_cast<sockaddr 
*>(&data->m_client_ip), PLUGIN_NAME, 0, data->m_buffer_index,

Review comment:
       I didn't, it's still there. See the corresponding API change in PR #8088 
[here](https://github.com/apache/trafficserver/pull/8088/files#diff-e188d413739d07f1ad183ae5912ca435557809252154bdd5f2fcf625f95b9600R6882)
 that adds this new function signature.
   
   The problem is I didn't want to keep adding to the function name, so I 
chopped that part off when I added two new arguments. Otherwise I would have 
needed to add `andBufferIndexAndBufferWaterMark` or similar to the new function 
and that seemed excessive when the arguments are self-explanatory. The 
`TSHttpConnectWithPluginId` function still exists and the arguments above are 
identical to what they were previously, we just call the 
less-specifically-named function that has more arguments here to provide the 
buffer index and watermark.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to