[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2013-04-15 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13632210#comment-13632210 ] ASF subversion and git services commented on TS-621: Commit d64480be9197ae

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2013-04-15 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13632211#comment-13632211 ] ASF subversion and git services commented on TS-621: Commit e2aff41f8d6814

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2013-04-15 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13632163#comment-13632163 ] ASF subversion and git services commented on TS-621: Commit b5b13238354283

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2013-04-12 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13630643#comment-13630643 ] ASF subversion and git services commented on TS-621: Commit e2aff41f8d6814

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2013-04-12 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13630606#comment-13630606 ] Leif Hedstrom commented on TS-621: -- I'm going to make a few cosmetic changes, and commit this

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2013-03-20 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13607698#comment-13607698 ] Leif Hedstrom commented on TS-621: -- Let me take a look at it again, from the protocol perspec

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2013-03-20 Thread Zhao Yongming (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13607479#comment-13607479 ] Zhao Yongming commented on TS-621: -- we have this patch in production for years, should we go

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2013-03-19 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13606525#comment-13606525 ] Leif Hedstrom commented on TS-621: -- Heh, this is becoming quite a novel. What shall we do her

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2012-05-30 Thread kuotai (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285545#comment-13285545 ] kuotai commented on TS-621: --- In http procotol, we verify receiving remote response only by Content-L

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2012-04-18 Thread weijin (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257302#comment-13257302 ] weijin commented on TS-621: --- John: the patch was just a temporary solution and I did not take into a

Re: [jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2012-04-18 Thread taorui
John: the patch was just a temporary solution and I did not take into account this situation you mentioned (even did not know). So if you have any ideas about it, tell me. On Thu, 2012-04-19 at 03:51 +, John Plevyak (Commented) (JIRA) wrote: > [ > https://issues.apache.org/jira/browse/TS-621?

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2012-04-18 Thread John Plevyak (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257197#comment-13257197 ] John Plevyak commented on TS-621: - weijin, your patch relies on the Content-Length: header.

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2012-02-27 Thread weijin (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217116#comment-13217116 ] weijin commented on TS-621: --- Leif, John, Pleas review the patch and give me your advices.

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2012-02-27 Thread weijin (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217115#comment-13217115 ] weijin commented on TS-621: --- Base on John`s solution, I also write a patch to cache empty documents.

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-26 Thread Zhao Yongming (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13039867#comment-13039867 ] Zhao Yongming commented on TS-621: -- ab testing but failed to stand all the time, it will fail

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-19 Thread John Plevyak (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036424#comment-13036424 ] John Plevyak commented on TS-621: - Obviously the patch needs to be fixed up a bit. The Cluste

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-19 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036279#comment-13036279 ] Leif Hedstrom commented on TS-621: -- The changes seem invasive to me too, but are definitely v

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-19 Thread John Plevyak (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036269#comment-13036269 ] John Plevyak commented on TS-621: - Looks good, but I agree, this set of changes is pretty inva

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-18 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035946#comment-13035946 ] Leif Hedstrom commented on TS-621: -- So, I haven't had a chance to properly play with this, bu

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-18 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035937#comment-13035937 ] Leif Hedstrom commented on TS-621: -- >From what I can tell, it seems that even though it finds

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-18 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035915#comment-13035915 ] Leif Hedstrom commented on TS-621: -- Did a little more debugging, what seems to happen is that

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-18 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035703#comment-13035703 ] Leif Hedstrom commented on TS-621: -- The 40x caching was a red herring, but the other problem

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-18 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035663#comment-13035663 ] Leif Hedstrom commented on TS-621: -- Quick update: The caching of 40x's happens without this p

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-18 Thread Zhao Yongming (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035256#comment-13035256 ] Zhao Yongming commented on TS-621: -- I don't know why, from my point: 1, every miss will trigg

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-17 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035005#comment-13035005 ] Leif Hedstrom commented on TS-621: -- I think I've found a problem on clustering here. I'm fetc

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-17 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034928#comment-13034928 ] Leif Hedstrom commented on TS-621: -- Yep, -3 works. This seems ok so far to me, and in line wi

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-16 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034514#comment-13034514 ] Leif Hedstrom commented on TS-621: -- Grrr, even if I "fix" this is HttpTunnel.cc, it doesn't w

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-16 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034494#comment-13034494 ] Leif Hedstrom commented on TS-621: -- Actually, I suspect it's in HttpTunnel.cc:846: {code}

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-16 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034490#comment-13034490 ] Leif Hedstrom commented on TS-621: -- Took a quick look at this, nothing obvious comes to mind,

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-16 Thread John Plevyak (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034424#comment-13034424 ] John Plevyak commented on TS-621: - yes, the HTTP state machine needs some more changes, and th

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-16 Thread John Plevyak (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034408#comment-13034408 ] John Plevyak commented on TS-621: - lol, my testing tool treats 0 length as varied testing now

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-16 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034400#comment-13034400 ] Leif Hedstrom commented on TS-621: -- John: I tried this patch, and it doesn't seem to have any

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-15 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033854#comment-13033854 ] Leif Hedstrom commented on TS-621: -- I can definitely help out with the clustering testing and

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-15 Thread John Plevyak (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033817#comment-13033817 ] John Plevyak commented on TS-621: - I'd like to get it in. The concern however, is that it cha

[jira] [Commented] (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-05-14 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033650#comment-13033650 ] Leif Hedstrom commented on TS-621: -- John: Is there any chance we'll get this for v2.1.9 in th

[jira] Commented: (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-02-09 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992699#comment-12992699 ] Leif Hedstrom commented on TS-621: -- I'm thinking in 2 weeks we should start the v2.1.6 releas

[jira] Commented: (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-02-09 Thread John Plevyak (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992662#comment-12992662 ] John Plevyak commented on TS-621: - What is the timeline? I am taking the kids to Disneyland n

[jira] Commented: (TS-621) writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

2011-01-24 Thread Leif Hedstrom (JIRA)
[ https://issues.apache.org/jira/browse/TS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986147#action_12986147 ] Leif Hedstrom commented on TS-621: -- When we add this, we should also support 0-length bodies t