You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2020/09/17 23:11:48 UTC

[GitHub] [trafficserver] ywkaras opened a new issue #7205: The TS API function TSHttpAltInfoQualitySet() does not appear to have any effect.

ywkaras opened a new issue #7205:
URL: https://github.com/apache/trafficserver/issues/7205


   When I set a breakpoint in the Regression test for this, the response to the (synthetic) client is always the same, regardless of the call to this API function.  (The "test" passes because it doesn't actually check what the response is.)
   ```
   Breakpoint 1, synclient_txn_read_response (contp=<optimized out>) at traffic_server/InkAPITest.cc:669
   669	  TSDebug(CDBG_TAG, "Response = |%s|, req len = %d", txn->response, txn->response_len);
   (gdb) p txn->response
   $3 = "HTTP/1.0 200 OK\r\nX-Response-ID: 6\r\nCache-Control: max-age=86400\r\nContent-Language: English\r\nDate: Tue, 08 Sep 2020 14:41:34 GMT\r\nAge: 0\r\nServer: ATS/10.0.0\r\n\r\nBody for response 6", '\000' <repeats 3917 times>
   (gdb) c
   Continuing.
   Regression test(SDK_API_HttpAltInfo) still in progress
   
   Breakpoint 1, synclient_txn_read_response (contp=<optimized out>) at traffic_server/InkAPITest.cc:669
   669	  TSDebug(CDBG_TAG, "Response = |%s|, req len = %d", txn->response, txn->response_len);
   (gdb) p txn->response
   $4 = "HTTP/1.0 200 OK\r\nX-Response-ID: 6\r\nCache-Control: max-age=86400\r\nContent-Language: English\r\nDate: Tue, 08 Sep 2020 14:41:34 GMT\r\nAge: 0\r\nContent-Length: 19\r\nServer: ATS/10.0.0\r\n\r\nBody for response 6", '\000' <repeats 3897 times>
   (gdb) c
   Continuing.
   [SDK_API_HttpAltInfo] TSHttpAltInfoClientReqGet : [TestCase] <<PASS>> { ok }
   [SDK_API_HttpAltInfo] TSHttpAltInfoCachedReqGet : [TestCase] <<PASS>> { ok }
   [SDK_API_HttpAltInfo] TSHttpAltInfoCachedRespGet : [TestCase] <<PASS>> { ok }
   [SDK_API_HttpAltInfo] TSHttpAltInfoQualitySet : [TestCase] <<PASS>> { ok }
   
   Breakpoint 1, synclient_txn_read_response (contp=<optimized out>) at traffic_server/InkAPITest.cc:669
   669	  TSDebug(CDBG_TAG, "Response = |%s|, req len = %d", txn->response, txn->response_len);
   (gdb) p txn->response
   $5 = "HTTP/1.0 200 OK\r\nX-Response-ID: 6\r\nCache-Control: max-age=86400\r\nContent-Language: English\r\nDate: Tue, 08 Sep 2020 14:41:34 GMT\r\nAge: 60\r\nContent-Length: 19\r\nServer: ATS/10.0.0\r\n\r\nBody for response 6", '\000' <repeats 3896 times>
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] bneradt commented on issue #7205: The TS API function TSHttpAltInfoQualitySet() does not appear to have any effect.

Posted by GitBox <gi...@apache.org>.
bneradt commented on issue #7205:
URL: https://github.com/apache/trafficserver/issues/7205#issuecomment-982169568


   @SolidWallOfCode : Alan is checking quickly whether this test actually inserts alternates for the requested object. If we find the test to be insufficient, we should probably write an autest to exercise this case.


-- 
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: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] github-actions[bot] commented on issue #7205: The TS API function TSHttpAltInfoQualitySet() does not appear to have any effect.

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #7205:
URL: https://github.com/apache/trafficserver/issues/7205#issuecomment-922158740


   This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.


-- 
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: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] ywkaras commented on issue #7205: The TS API function TSHttpAltInfoQualitySet() does not appear to have any effect.

Posted by GitBox <gi...@apache.org>.
ywkaras commented on issue #7205:
URL: https://github.com/apache/trafficserver/issues/7205#issuecomment-928153915


   I doubt this has been resolved.


-- 
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: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] ywkaras commented on issue #7205: The TS API function TSHttpAltInfoQualitySet() does not appear to have any effect.

Posted by GitBox <gi...@apache.org>.
ywkaras commented on issue #7205:
URL: https://github.com/apache/trafficserver/issues/7205#issuecomment-928153915


   I doubt this has been resolved.


-- 
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: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org