Re: Is INKMimeHdrFieldInsert() working as intended?

2010-01-07 Thread Steve Jiang
INKHttpTxnServerRespGet retrieves the response from the origin server (from READ_RESPONSE_HDR). TS builds a response to send to the client from the server response between READ_RESPONSE_HDR and SEND_RESPONSE_HDR, so changing the server response at the latter hook will be too late. If you wan

Re: Is INKMimeHdrFieldInsert() working as intended?

2010-01-07 Thread Steve Jiang
INKHttpTxnServerRespGet retrieves the response from the origin server (from READ_RESPONSE_HDR). TS builds a response to send to the client from the server response between READ_RESPONSE_HDR and SEND_RESPONSE_HDR, so changing the server response at the latter hook will be too late. If you wan

Is INKMimeHdrFieldInsert() working as intended?

2010-01-07 Thread Tin Zaw
OK, it's me, sorry to bug you again. I am following replace-header plugin example to implement a plugin that sets a cookie. Here is my call back. case INK_EVENT_HTTP_SEND_RESPONSE_HDR: replace_header(txnp, contp); And below is replace_header(). But when I run it, everything seems fine

[jira] Updated: (TS-50) FreeBSD support

2010-01-07 Thread George Paul (JIRA)
[ https://issues.apache.org/jira/browse/TS-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] George Paul updated TS-50: -- Attachment: TS50_patch2.diff The FreeBSD (8.0) port currently is being worked on on the dev branch. http://svn.apac

[jira] Resolved: (TS-92) VIO and VConnection interfaces should use 64-bit sizes to support large documents > 2GB

2010-01-07 Thread John Plevyak (JIRA)
[ https://issues.apache.org/jira/browse/TS-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Plevyak resolved TS-92. Resolution: Fixed Fix Version/s: 2.1.0 Committed revision 897010, dev branch. > VIO and VConnection inte

[jira] Commented: (TS-43) INK_BLOCK_SIZE is 512 but drives are moving to 4096 as a native size

2010-01-07 Thread John Plevyak (JIRA)
[ https://issues.apache.org/jira/browse/TS-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797704#action_12797704 ] John Plevyak commented on TS-43: Simply increasing INK_BLOCK_SIZE to 4K would potentially mean a