aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-04-18 00:06:26 +0200
committerLoïc Hoguin <[email protected]>2011-04-18 00:06:26 +0200
commit15dc645596b5efddda0a85ca5b6e60c41e51f4ec (patch)
tree1784e45bd147936fac8e4f885ba688bb421aa030 /include
parent9ad32386c00b73bd3af2afa90c8e52469fdaad30 (diff)
downloadcowboy-15dc645596b5efddda0a85ca5b6e60c41e51f4ec.tar.gz
cowboy-15dc645596b5efddda0a85ca5b6e60c41e51f4ec.tar.bz2
cowboy-15dc645596b5efddda0a85ca5b6e60c41e51f4ec.zip
Use the inet:socket() type instead of the user-defined one.
Diffstat (limited to 'include')
-rw-r--r--include/http.hrl2
-rw-r--r--include/types.hrl1
2 files changed, 1 insertions, 2 deletions
diff --git a/include/http.hrl b/include/http.hrl
index ad95c0f..fe5c796 100644
--- a/include/http.hrl
+++ b/include/http.hrl
@@ -14,7 +14,7 @@
-record(http_req, {
%% Transport.
- socket = undefined :: undefined | socket(),
+ socket = undefined :: undefined | inet:socket(),
transport = undefined :: undefined | module(),
connection = keepalive :: keepalive | close,
diff --git a/include/types.hrl b/include/types.hrl
index 5938f0e..34b3fda 100644
--- a/include/types.hrl
+++ b/include/types.hrl
@@ -16,7 +16,6 @@
{takeover, Node::node()} | {failover, Node::node()}.
-type posix() :: atom().
--opaque socket() :: term().
-opaque sslsocket() :: term().
-type port_number() :: 0..65535.