Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000223 [obex-data-server] General feature N/A 2009-11-10 10:27 2010-03-17 14:00
Reporter skirsdeda View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 0.4.5
Summary 0000223: Not possible to change timeout period
Description It should be possible to change timeout period. Not sure if it should be done globally with configure or possible to change at runtime as well...
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000853)
heston_james (reporter)
2009-11-20 15:22

Hey Tadas,

After playing around with the latest SVN build this morning this is certainly a feature I'd like to see implemented as I think the timeout may cause issues with our application. We use the client side of ODS.

When implementing this would it be possible to have it so that the timeout can be set to '0' to disable the timeout feature so the connection remains open perminantly?

The reason this causes issues for us is because for instance, if we try to send a file to a Sony handset, and the user doesn't accept the message within 15 seconds the prompt remains on their screen however the connection has been dropped by ODS so when they finally do click 'accept' on the file, they get an error on the phone and the file is not sent.

I can understand the benefits for some people but for me being able to turn off the timeout would be helpful.

Heston
(0000854)
skirsdeda (administrator)
2009-11-20 16:39

Ok, I understand why this would be useful for you. I'll definitely implement it.
(0000855)
heston_james (reporter)
2009-11-24 15:20

Hey Tadas, that's great news. Tell me, is there any quick way for me to hack the source code to disable the time out feature? I'm keen to test the other bug fixes in the latest build but am unable to operate it in a live environment whilst it's timing out.

I took a look through the course code but couldn't find where it was defined.

Cheers,

Heston
(0000857)
skirsdeda (administrator)
2009-11-26 18:57

Try deleting:
ods-obex.c (lines 151-152 and 247-248)
(0001176)
heston_james (reporter)
2010-03-16 11:56

Hey Tadas,

Can we take a look at implementing something to look at this? I've really keen to use the latest ods build because of all the stability fixes you've been making however without being able to disable this timeout feature I cannot.

I've tried various things to remove the feature myself but keep getting compilation errors.

Thanks my man, I hope you're well!

Heston
(0001177)
skirsdeda (administrator)
2010-03-16 13:42

I just have to find some time to work on this. It's the highest priority in my ods todo list:)
(0001178)
heston_james (reporter)
2010-03-17 14:00

Great stuff Tadas,

I look forward to seeing it! I know how hard it can be to find the time for these kinds of things :-D

Heston

- Issue History
Date Modified Username Field Change
2009-11-10 10:27 skirsdeda New Issue
2009-11-10 10:27 skirsdeda Target Version => 0.4.6
2009-11-20 15:22 heston_james Note Added: 0000853
2009-11-20 16:39 skirsdeda Note Added: 0000854
2009-11-24 15:20 heston_james Note Added: 0000855
2009-11-26 18:57 skirsdeda Note Added: 0000857
2010-03-16 11:56 heston_james Note Added: 0001176
2010-03-16 13:42 skirsdeda Note Added: 0001177
2010-03-17 14:00 heston_james Note Added: 0001178


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker