Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
08-17-2012 05:15 AM - edited 08-17-2012 05:23 AM
I am working on an application that uses SSL to communicate with a server. For every request I make, I open the connection, make the request and then close the connection.
I was thinking about keeping the connection "alive", so I just open a connection and I make as many requests as I want before I close it.
My question is: Is this possible in Blackberry? Has anyone implemented it successfully in their application?
Thank you very much in advance
Solved! Go to Solution.
08-17-2012 05:24 AM
08-17-2012 05:38 AM
Thanks for your quick reply Simon,
You said: "as the framework kills them after some time" --> What is the timeout for this?
Could I recreate the connection after it gets killed by the framework? At least this way the performance would be better than in my current situation.
Thank you very much indeed
08-20-2012 04:58 AM
I'm using http level connection. That's why I'm asking. I know it's possible for socket level connection using "keepalive". But my question is: is it possible using http/https connections?
Thanks so much
08-20-2012 08:29 AM
To answer questions from previously:
"What is the timeout for this?"
"Could I recreate the connection after it gets killed by the framework?"
I am not aware of a way.
Because http is effectively a connect, send, response, close connection protocol, I don't believe there is anything that you do about this process - perhaps try to do more on each http request?
But this is not an area of great expertise, so I would wait for other input.