aboutsummaryrefslogtreecommitdiffstats
path: root/test/fake_transport.erl
diff options
context:
space:
mode:
authorEduardo Gurgel <[email protected]>2017-08-27 22:07:42 +1200
committerLoïc Hoguin <[email protected]>2017-09-02 14:52:50 +0200
commitb42c40225a6be792aa0706bdeefabc6691ae5c2d (patch)
tree677e5a299841338964d79a1e8888912f39a69b8a /test/fake_transport.erl
parent0fe54af72b81fdb198a377198d7f3a91f9ad6d7c (diff)
downloadgun-b42c40225a6be792aa0706bdeefabc6691ae5c2d.tar.gz
gun-b42c40225a6be792aa0706bdeefabc6691ae5c2d.tar.bz2
gun-b42c40225a6be792aa0706bdeefabc6691ae5c2d.zip
Fix gun_http2:handle/2 when goaway is received
Diffstat (limited to 'test/fake_transport.erl')
-rw-r--r--test/fake_transport.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/fake_transport.erl b/test/fake_transport.erl
new file mode 100644
index 0000000..80e9afd
--- /dev/null
+++ b/test/fake_transport.erl
@@ -0,0 +1,4 @@
+-module(fake_transport).
+-compile(export_all).
+
+send(Socket, Message) -> ok.