@@ -127,7 +127,7 @@ setOnException x y = y { settingsOnException = x }
127127setOnExceptionResponse :: (SomeException -> Response) -> Settings -> Settings
128128setOnExceptionResponse x y = y { settingsOnExceptionResponse = x }
129129
130−-- | What to do when a connection is open. When 'False' is returned, the
130+-- | What to do when a connection is opened. When 'False' is returned, the
131131-- connection is closed immediately. Otherwise, the connection is going on.
132132-- Default: always returns 'True'.
133133--
@@ -135,7 +135,7 @@ setOnExceptionResponse x y = y { settingsOnExceptionResponse = x }
135135setOnOpen :: (SockAddr -> IO Bool) -> Settings -> Settings
136136setOnOpen x y = y { settingsOnOpen = x }
137137
138−-- | What to do when a connection is close. Default: do nothing.
138+-- | What to do when a connection is closed. Default: do nothing.
139139--
140140-- Since 2.1.0
141141setOnClose :: (SockAddr -> IO ()) -> Settings -> Settings