reiern70 opened a new pull request #408: allow to abort currently executing 
request for an Ajax channel
URL: https://github.com/apache/wicket/pull/408
 
 
   Hi @martin-g ,
   
   We have the following use case: 
   
   1- Very big AJAX upload... user gets tired of waiting
   2- User wants to cancel upload
   
   Thus we would like to cancel at client side the current AJAX request for the 
channel used for the upload.  I had a look a channels with DROP type... and 
this does not seem to be useful in above use case... as scheduling a new 
request will wait fro current request to finish before erasing all other 
waiting requests (or so I understood).
   
   Disclaimer: I haven't tested the code included on PR. I just want to know if 
in your opinion if this a good approach and it could work without side 
effects... Or if there is a better approach?
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to