To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=75191 Issue #|75191 Summary|binfilter detection service removes input streams from | its media descriptor, which gives a performance penal |ty when POSTing Component|framework Version|current Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|os Reported by|fs
------- Additional comments from [EMAIL PROTECTED] Wed Mar 7 08:45:28 +0000 2007 ------- With issue 74484, we revived the functionality to submit POST requests. During fixing this, I encountered the problem that *two* POST requests were issued, both with exactly the same arguments, were only *one* would be necessary. To reproduce: follow the instructions in issue 74484, and place a breakpoint in comphelper/source/misc/mediadescriptor.cxx, method impl_openStreamWithPostData (You need a milestone where CWS dba23 is integrated). You'll notice that this breakpoint is hit two times when pressing the button in the bugdoc. The reason is in binfilter/bindetect/source/bindetect.cxx, in the "detect" method: When there is *no* XStream in the media descriptor, *but* an XInputStream, then the XInputStream is removed. This is pretty weird, and means that the input stream has to be re-created when the detection is not successful. I'm not sure how to best fix this, since it's not clear what the intention of the removal is. However, I suppose the detector service should *not* touch the media descriptor at all, if detection is not successful. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
