Skip to content

Commit dcd0052

Browse files
committed
Fix for issue #21
1 parent a7d5c16 commit dcd0052

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
lines changed

.gitignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1-
## Ignore MonoDevelop build results and temporary files.
1+
## Ignore build results and temporary files.
22

3+
Backup*
4+
_UpgradeReport_Files
35
bin
6+
obj
7+
48
*.mdb
9+
*.pdb
510
*.pidb
11+
*.suo
12+
*.user
613
*.userprefs
14+
UpgradeLog*.*

websocket-sharp/Net/HttpListener.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@ public HttpListener ()
8585
/// Gets or sets the scheme used to authenticate the clients.
8686
/// </summary>
8787
/// <value>
88-
/// One of the <see cref="AuthenticationSchemes"/> values that indicates the scheme used to
89-
/// authenticate the clients. The default value is <see cref="AuthenticationSchemes.Anonymous"/>.
88+
/// One of the <see cref="WebSocketSharp.Net.AuthenticationSchemes"/> values that indicates
89+
/// the scheme used to authenticate the clients.
90+
/// The default value is <see cref="WebSocketSharp.Net.AuthenticationSchemes.Anonymous"/>.
9091
/// </value>
9192
/// <exception cref="ObjectDisposedException">
9293
/// This object has been closed.

websocket-sharp/Net/WebHeaderCollection.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,8 @@ public string this [HttpResponseHeader header]
410410
/// Gets a collection of header names in the collection.
411411
/// </summary>
412412
/// <value>
413-
/// A <see cref="KeysCollection"/> that contains a collection of header names in the collection.
413+
/// A <see cref="NameObjectCollectionBase.KeysCollection"/> that contains a collection
414+
/// of header names in the collection.
414415
/// </value>
415416
public override KeysCollection Keys
416417
{

websocket-sharp/Server/WebSocketServiceHostManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ public Dictionary<string, Dictionary<string, bool>> Broadping (string message)
703703
if (message == null || message.Length == 0)
704704
return Broadping ();
705705

706-
byte [] data;
706+
byte [] data = null;
707707
var msg = _state.CheckIfStarted () ??
708708
(data = Encoding.UTF8.GetBytes (message)).CheckIfValidPingData ();
709709

websocket-sharp/Server/WebSocketSessionManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ public Dictionary<string, bool> Broadping (string message)
601601
if (message == null || message.Length == 0)
602602
return Broadping ();
603603

604-
byte [] data;
604+
byte [] data = null;
605605
var msg = _state.CheckIfStarted () ??
606606
(data = Encoding.UTF8.GetBytes (message)).CheckIfValidPingData ();
607607

0 commit comments

Comments
 (0)