[
https://issues.apache.org/struts/browse/STR-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40804
]
Himanshu goyal commented on STR-3031:
-------------------------------------
Hi paul
My problem is related to the Aborted Request .. so if i write a
ServletFilter then also it wont complete its execution.. and currently in
one of my filter a temp file is created which is creating problem for me...
so please suggest me another way of doing this.. such that i can get the
References of the Aborted Request and also the task done by that request ..,
so that it can be cleaned up//
Right now i m using a Filter called GZIPFilter for Compressing the Response.
and with in this filter i have used some HTML-Parsing Logic to manipulate
the ResponseStream for some Encryption and Decryption..
but the files created for that parsing Logic remains There if during that
processing somehow Request is Aborted.. .
Please suggest me something.... apart from this...
Regards
himanshu Goyal
--
Himanshu Goyal
Trainee System Engineer
Office Nos. 403 & 404, 4th Floor,
Wiekfield IT City Infotech, Nagar Road,
Pune-411014 , India
Mobile : +91-9219631256
Phone (O): 91-020-39846100 Extn: 586
email : [EMAIL PROTECTED]
> Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .
> ----------------------------------------------------------------------------
>
> Key: STR-3031
> URL: https://issues.apache.org/struts/browse/STR-3031
> Project: Struts 1
> Issue Type: Temp
> Components: Core
> Affects Versions: 1.2.4
> Environment: Tomcat on linux, with Struts
> Reporter: Himanshu goyal
> Priority: Critical
>
> Hi Martin,
> > could u please help me abt my problem with Temporary files created during
> > aborted uploads. and other concerns..
> > like many times the temp files created internally for different purpose
> > remains there if the request is aborted.
> > i just wanted to know how to catch those Aborted Requests so that we can do
> > the cleanup , ad due to this my Temp folder for the web-server is getting
> > very heavy and is
> > impacting performance.
> >
> > Can it be implemented using Session listener or some other way..
> > kindly request you to tell me the way or any sample code demonstrating
> > this..
> > my requirement is just to cleanup the temporarily files for aborted
> > requests.
> >
> >
> > i have implemented the File upload such that the uploaded file first gets
> > loaded locally for virus scanning.. and then gets uploaded to the
> > destination .. but the problem occurs when someone
> > aborts the request such that the temp files created for virus scanning
> > remains there.. and sometimes it maked the temp folder so much bulky that
> > it impacts performance.
> >
> any help wud be Really Thankful...
> >
> > Thanks & Regards
> > Himanshu Goyal
> > System Analyst
> > Nihilent Technology pvt Ltd.[ CMMI-5 Certified Company ]
> > email: [EMAIL PROTECTED]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.