From: Marcel H. <ma...@ho...> - 2005-12-02 14:45:29
|
Hi Johan, > > If we want to avoid breaking the API, I think it's simpler having > > pause/unpase functions (being "unpaused" the default) instead of two > > type of callbacks with different behaviour. > > Here's a patch which implements two new functions: OBEX_ResumeRequest > and OBEX_SuspendRequest. No API brakage is involved. The functions allow > you to control when openobex sends the reply to CONTINUE packets. > > While testing the the functions I also noticed a bug in the client abort > behaviour. The patch also fixes this (checking for object->abort in the > obex_object_receive_stream function). I've tested both PUT and GET > operations with the patch (using my own OBEX client app) and it seems to > work quite nicely. I am fine with this patch. Any objections from others? Regards Marcel |