Skip to content

Commit 244ebec

Browse files
authored
Merge branch 'sta:master' into master
2 parents 986b2a4 + d7e7917 commit 244ebec

33 files changed

+1334
-1001
lines changed

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2010-2023 sta.blockhead
3+
Copyright (c) 2010-2024 sta.blockhead
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

websocket-sharp/Ext.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,10 +428,12 @@ internal static string GetAbsolutePath (this Uri uri)
428428
}
429429

430430
internal static CookieCollection GetCookies (
431-
this NameValueCollection headers, bool response
431+
this NameValueCollection headers,
432+
bool response
432433
)
433434
{
434-
var val = headers[response ? "Set-Cookie" : "Cookie"];
435+
var name = response ? "Set-Cookie" : "Cookie";
436+
var val = headers[name];
435437

436438
return val != null
437439
? CookieCollection.Parse (val, response)

websocket-sharp/Net/AuthenticationBase.cs

Lines changed: 0 additions & 151 deletions
This file was deleted.

0 commit comments

Comments
 (0)