[ https://issues.apache.org/jira/browse/TS-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Diane Smith resolved TS-250. ---------------------------- Resolution: Fixed text added to HTTPTransactionFunctions.html, between INKHttpTxnParentProxySet and INKHttpTxnParentProxySet. Pls email me (or reopen this bug) if placement is incorrect, thnx > new sdk function: INKHttpTxnPristineUrlGet > ------------------------------------------ > > Key: TS-250 > URL: https://issues.apache.org/jira/browse/TS-250 > Project: Traffic Server > Issue Type: Improvement > Components: Documentation > Reporter: Miles Libbey > Assignee: Diane Smith > Priority: Minor > > This should belong to "HTTP Transaction Functions" > INKHttpTxnPristineUrlGet > Gets the pristine URL (the URL before remap) for a specified HTTP transaction. > Prototype > INKReturnCode INKHttpTxnPristineUrlGet (INKHttpTxn txnp, INKMBuffer *bufp, > INKMLoc *url_loc); > Description > Retrieves the pristine URL from the HTTP transaction txnp. > INKHttpTxnPristineUrlGet stores the pristine URL in bufp, at > location url_loc. > Call after READ_REQUEST_HDR_HOOK. > Release the returned url_loc with a call to INKHandleMLocRelease. > Returns > INK_SUCCESS if the operation completes successfully. > INK_ERROR if an error occurs or if pristine url doesn't exist yet (such as > before reading request) > Sample: > if (INKHttpTxnPristineUrlGet(txnp, &bufp, &url_loc) == > INK_SUCCESS) > { > value = INKUrlHostGet(bufp, url_loc, &len); > INKDebug (DEBUG_TAG, "Pristine Host: %s", value); > INKHandleMLocRelease (bufp, INK_NULL_MLOC, url_loc); > } > else { > INKError ("INKHttpTxnPristineUrlGet returns 0.\n"); > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.