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

rfc7230: Port number in Host header when not std. #132

Open
wants to merge 42 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
293e4f8
Add tcp_options
Dec 20, 2021
8f89622
Rename tcp_options to socket_options
Jan 3, 2022
44792a8
Remove @tag :skip on the SSL tests
Jan 3, 2022
a528bf8
When host is IP address string, :gen_tcp.open_socket will parse it in…
Jul 4, 2022
571ffbf
Update the echo server URL
al2o3cr Nov 20, 2022
1e4785e
Merge pull request #1 from henkoch/master
haljin Nov 21, 2022
4cd1af0
Merge pull request #2 from henkoch/adding_tcp_options
haljin Nov 21, 2022
d8f1411
Merge branch 'Azolo:master' into master
haljin Jan 18, 2023
08c250e
Rebase properly
haljin Jan 18, 2023
f5408ae
Remove then to conform to older Elixir
haljin Jan 18, 2023
a649899
convert bxor references to Bitwise library
Feb 20, 2023
6072d49
Update README.md
marpo60 Jun 26, 2023
0a474b0
Update dependencies
wkirschbaum Jul 6, 2024
7bc5e48
Update charlists to use sigils
wkirschbaum Jul 6, 2024
63e15e4
Fix deprecated Cowboy usage
wkirschbaum Jul 6, 2024
cbab09c
Remove unused mix deps
wkirschbaum Jul 6, 2024
e6c58d8
Require Elixir 1.11+
wkirschbaum Jul 6, 2024
dea4d5c
rfc7230: Port number in Host header when not std.
dominicletz Nov 7, 2024
ace82e6
Remove travis
dominicletz Dec 30, 2024
e05f8e6
Add github ci
dominicletz Dec 30, 2024
4b4c719
Add ci badge to readme
dominicletz Dec 30, 2024
b2f9dc4
mix format --migrate
dominicletz Dec 30, 2024
f5b850b
Remove mix.lock
dominicletz Dec 30, 2024
56f8ad4
Add mix.lint alias
dominicletz Dec 30, 2024
7cd57f8
Lint in ci
dominicletz Dec 30, 2024
60ee57a
Added dialyzer to linting
dominicletz Dec 30, 2024
7738113
Change package name to websockex_wt
dominicletz Dec 30, 2024
5b858f8
v0.4.4
dominicletz Dec 30, 2024
6503919
Fixup readme
dominicletz Dec 30, 2024
6b56597
Merge remote-tracking branch 'wkirschbaum/master'
dominicletz Dec 30, 2024
50336de
Merge remote-tracking branch 'marpo60/patch-1'
dominicletz Dec 30, 2024
6007df8
Merge remote-tracking branch 'cortfritz/feature/reference-Bitwise'
dominicletz Dec 30, 2024
54fb940
Removed unused import
dominicletz Dec 30, 2024
2a05221
Merge remote-tracking branch 'haljin/refurbish'
dominicletz Dec 30, 2024
1ac1c10
Fix unused option
dominicletz Dec 30, 2024
c6e45d9
Use warnings as errors in lint compilation
dominicletz Dec 30, 2024
57cd27d
Merge remote-tracking branch 'al2o3cr/patch-1'
dominicletz Dec 30, 2024
4dc6b5b
v0.5.0
dominicletz Dec 30, 2024
f36d391
Updated version
dominicletz Dec 30, 2024
23b1b8a
Removed note about elixir 1.4
dominicletz Dec 30, 2024
dc71504
Updated docs link
dominicletz Dec 30, 2024
3b1c664
Fixed deps() example
dominicletz Dec 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove @tag :skip on the SSL tests
HenKo-94 committed Jan 3, 2022
commit 44792a8752a86a4355d4f5bde41ebfbd306b4313
5 changes: 0 additions & 5 deletions test/websockex/conn_test.exs
Original file line number Diff line number Diff line change
@@ -148,7 +148,6 @@ defmodule WebSockex.ConnTest do
[url: url, uri: uri, conn: conn]
end

@tag :skip
test "open_socket with supplied cacerts", context do
conn =
WebSockex.Conn.new(
@@ -161,15 +160,13 @@ defmodule WebSockex.ConnTest do
WebSockex.Conn.open_socket(conn)
end

@tag :skip
test "open_socket with insecure flag", context do
conn = WebSockex.Conn.new(context.uri, insecure: true)

assert {:ok, %WebSockex.Conn{conn_mod: :ssl, transport: :ssl, insecure: true}} =
WebSockex.Conn.open_socket(conn)
end

@tag :skip
test "close_socket", context do
socket = context.conn.socket

@@ -179,7 +176,6 @@ defmodule WebSockex.ConnTest do
assert {:error, _} = :ssl.sockname(socket)
end

@tag :skip
test "open_socket with custom ssl options", context do
ssl_options = [cacertfile: Path.join([__DIR__, "..", "support", "priv", "websockexca.cer"])]
conn = WebSockex.Conn.new(context.uri, ssl_options: ssl_options)
@@ -217,7 +213,6 @@ defmodule WebSockex.ConnTest do
assert :inet.getopts(context.conn.socket, [:active]) == {:ok, active: false}
end

@tag :skip
test "works on wss connections" do
{:ok, {server_ref, url}} = WebSockex.TestServer.start_https(self())
on_exit(fn -> WebSockex.TestServer.shutdown(server_ref) end)
4 changes: 0 additions & 4 deletions test/websockex_test.exs
Original file line number Diff line number Diff line change
@@ -433,7 +433,6 @@ defmodule WebSockexTest do
end
end

@tag :skip
test "can handle initial connect headers" do
{:ok, {server_ref, url}} = WebSockex.TestServer.start_https(self())

@@ -450,7 +449,6 @@ defmodule WebSockexTest do
TestClient.catch_attr(pid, :pong, self())
end

@tag :skip
test "can connect to secure server" do
{:ok, {server_ref, url}} = WebSockex.TestServer.start_https(self())

@@ -478,7 +476,6 @@ defmodule WebSockexTest do
assert_receive {:caught_text, "Immediate Reply"}
end

@tag :skip
test "handles a ssl message send right after connecting" do
{:ok, {server_ref, url}} = WebSockex.TestServer.start_https(self())

@@ -1160,7 +1157,6 @@ defmodule WebSockexTest do
TestClient.catch_attr(context.pid, :disconnect, self())
end

@tag :skip
test "can handle a ssl socket closing during the close loop", context do
# Close the original socket
WebSockex.cast(context.pid, :close)