Open
Conversation
Enable cross-site requests a) support OPTIONS request with Access-Control-* headers, which works with newever browsers b) support callback polling transport (GET+jsonp), which will be used by older browsers The access is controlled by CometHttpHandler.AllowOrigin = "*";, where the value can be null, asterix, or comma-separated list of domains. The chat has been modified to demonstrate this (see the if block after configure section in chat.js) In addition, the polling duration and client tiemouts have been made configurable. Note: the long-polling vs callback detection is not 100% proper, as we look only at the method used. This will however work for clients following the "SHOULD" recommendations in Bayeux specifications.
Conflicts: src/Samples/Chat/Global.asax.cs
…nnects It should_not_publish_the_disconnected_event_again test
Moved to VS 2010 solutions and cleaned up old version and added a copy of The Bayeux Protocol for reference. Also, fixed a couple of issues to do with specifications. Some specifications are still failing, particularly in relation to callback messaging.
Conflicts: src/AspComet/MessageConverter.cs
The regular expression that removed nulls from JSON messages would leave behind a comma at the beginning of the top level of the message if the first property was null but there were subsequent properties.
Changed remaining project names to remove vs2010 label. Also implemented checks for subscribe and unsubscribe message handlers so that they respond with a 402 error indicating that the client is unknown.
…ed as a git submodule
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.