Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code improvements #11

Merged
merged 5 commits into from
Nov 5, 2011
Merged

Code improvements #11

merged 5 commits into from
Nov 5, 2011

Conversation

HakanL
Copy link
Contributor

@HakanL HakanL commented Nov 2, 2011

I ran into a few issues that I've fixed:

  • an issue where a collection is modified inside a foreach loop
  • a case when closing a connection can throw an exception (fixed in the java client)
  • some thread-safe issues (_exchanges)
  • max number of open connections was set to 3
  • re-formatted the code to make it easier to read

Wrapped some parts that had the potential for not being thread safe
Limited the number of concurrent connections to 2 (was 3)
Implemented cookie support
Cleaned up response handler
… sending, disconnecting so the message is sent to the comet server)
magnusga added a commit that referenced this pull request Nov 5, 2011
@magnusga magnusga merged commit 0fcf58c into Oyatel:master Nov 5, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants