Re: How to cancel a tny_transport_account_send?



On Mon, 2008-01-21 at 16:50 +0100, Sergio Villar Senin wrote:
> Philip Van Hoof wrote:
> > On Mon, 2008-01-21 at 15:20 +0100, Sergio Villar Senin wrote:
> >> Philip Van Hoof wrote:
> >>
> >>> Anyway, keep in mind atomicy when cancelling: don't promise the user you
> >>> cancelled something if you have just sent the last byte to the SMTP
> >>> server. You wont have cancelled the sending of the message.
> >>>
> >>> It's also quite hard to make any promise to the user about his
> >>> cancellation. You never know how far it got. You also don't control what
> >>> the SMTP server will do with the partial message.
> >> So, would you be in favour of adding the start/stop_operation stuff to
> >> the send queue?
> > 
> > What about convincing me with a fine patch? :)
> 
> Actually it's quite simple :-)


Approved :)


> _______________________________________________
> tinymail-devel-list mailing list
> tinymail-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/tinymail-devel-list
-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]