aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server/src
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2013-03-28 11:36:29 +0100
committerSiri Hansen <[email protected]>2013-03-28 11:36:29 +0100
commit08edfec49c90b72818525292b465e0024951cc7d (patch)
tree24be70f1f3e64f3168addb60022823dccbc5ceab /lib/test_server/src
parenta3054e29956b5da4c5b56d83edcd15b6648b3958 (diff)
downloadotp-08edfec49c90b72818525292b465e0024951cc7d.tar.gz
otp-08edfec49c90b72818525292b465e0024951cc7d.tar.bz2
otp-08edfec49c90b72818525292b465e0024951cc7d.zip
[test_server] Don't hang due to invalid io request
A bug in test_server_gl caused io requests containing invalid data (i.e. not unicode:chardata()) to hang, since no io reply was sent. This has been corrected.
Diffstat (limited to 'lib/test_server/src')
-rw-r--r--lib/test_server/src/test_server_gl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test_server/src/test_server_gl.erl b/lib/test_server/src/test_server_gl.erl
index 766a4537a2..2e4f223811 100644
--- a/lib/test_server/src/test_server_gl.erl
+++ b/lib/test_server/src/test_server_gl.erl
@@ -197,7 +197,7 @@ handle_info({io_request,From,ReplyAs,Req}=IoReq, St) ->
From ! {io_reply,ReplyAs,ok}
catch
_:_ ->
- {io_reply,ReplyAs,{error,arguments}}
+ From ! {io_reply,ReplyAs,{error,arguments}}
end,
{noreply,St};
handle_info({structured_io,ClientPid,{Detail,Str}}, St) ->