libuv/test
Trevor Norris 3d38eae377 test: don't close connection on write error
The echo server shouldn't close the connection when there's an error on
write. Instead simply echo the error message and allow the other side to
close the connection.

Also do a partial revert of 4d905fb where after_shutdown was removed.

Fixes: 4d905fb "test: close stream immediately on error"
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
Signed-off-by: Saúl Ibarra Corretgé <saghul@gmail.com>
2014-09-10 22:50:54 +02:00
..
fixtures
benchmark-async-pummel.c
benchmark-async.c
benchmark-fs-stat.c
benchmark-getaddrinfo.c
benchmark-list.h
benchmark-loop-count.c
benchmark-million-async.c
benchmark-million-timers.c
benchmark-multi-accept.c
benchmark-ping-pongs.c
benchmark-pound.c
benchmark-pump.c
benchmark-sizes.c
benchmark-spawn.c
benchmark-tcp-write-batch.c
benchmark-thread.c
benchmark-udp-pummel.c
blackhole-server.c
dns-server.c
echo-server.c test: don't close connection on write error 2014-09-10 22:50:54 +02:00
run-benchmarks.c
run-tests.c
runner-unix.c
runner-unix.h
runner-win.c
runner-win.h
runner.c
runner.h
task.h
test-active.c
test-async-null-cb.c
test-async.c
test-barrier.c
test-callback-order.c
test-callback-stack.c
test-close-fd.c
test-close-order.c
test-condvar.c
test-connection-fail.c
test-cwd-and-chdir.c
test-delayed-accept.c
test-dlerror.c
test-embed.c
test-emfile.c
test-error.c
test-fail-always.c
test-fs-event.c
test-fs-poll.c
test-fs.c fs: extend reported types in uv_fs_readdir_next 2014-08-15 16:44:44 +02:00
test-get-currentexe.c
test-get-loadavg.c
test-get-memory.c
test-getaddrinfo.c
test-getnameinfo.c
test-getsockname.c
test-handle-fileno.c unix, windows: add uv_fileno 2014-08-27 10:53:40 +02:00
test-hrtime.c
test-idle.c
test-ip4-addr.c
test-ip6-addr.c
test-ipc-send-recv.c
test-ipc.c
test-list.h darwin: allocate enough space for select() hack 2014-09-08 08:37:36 +01:00
test-loop-alive.c
test-loop-close.c
test-loop-handles.c
test-loop-stop.c
test-loop-time.c
test-multiple-listen.c
test-mutexes.c
test-osx-select.c darwin: allocate enough space for select() hack 2014-09-08 08:37:36 +01:00
test-pass-always.c
test-ping-pong.c
test-pipe-bind-error.c
test-pipe-close-stdout-read-stdin.c unix: read on stream even when UV__POLLHUP set. 2014-08-18 09:06:27 -07:00
test-pipe-connect-error.c
test-pipe-getsockname.c
test-pipe-sendmsg.c
test-pipe-server-close.c
test-platform-output.c
test-poll-close.c
test-poll-closesocket.c
test-poll.c
test-process-title.c
test-ref.c
test-run-nowait.c
test-run-once.c
test-semaphore.c
test-shutdown-close.c
test-shutdown-eof.c
test-shutdown-twice.c
test-signal-multiple-loops.c
test-signal.c
test-socket-buffer-size.c
test-spawn.c test: fix spawn_reads_child_path when using autoconf 2014-08-10 11:25:28 +02:00
test-stdio-over-pipes.c
test-tcp-bind6-error.c
test-tcp-bind-error.c
test-tcp-close-accept.c
test-tcp-close-while-connecting.c
test-tcp-close.c
test-tcp-connect6-error.c
test-tcp-connect-error-after-write.c
test-tcp-connect-error.c
test-tcp-connect-timeout.c
test-tcp-flags.c
test-tcp-open.c
test-tcp-read-stop.c
test-tcp-shutdown-after-write.c
test-tcp-try-write.c
test-tcp-unexpected-read.c
test-tcp-write-after-connect.c unix: fix tcp write after bad connect freezing 2014-08-21 16:23:43 +02:00
test-tcp-write-queue-order.c test: use less requests on tcp-write-queue-order 2014-09-04 18:45:39 +02:00
test-tcp-write-to-half-open-connection.c
test-tcp-writealot.c
test-thread.c
test-threadpool-cancel.c
test-threadpool.c
test-timer-again.c
test-timer-from-check.c
test-timer.c unix, windows: don't allow a NULL callback on timers 2014-09-05 16:59:18 +02:00
test-tty.c
test-udp-bind.c
test-udp-dgram-too-big.c
test-udp-ipv6.c test: skip UDP dualstack test on BSDs 2014-08-10 11:04:42 +02:00
test-udp-multicast-interface6.c
test-udp-multicast-interface.c
test-udp-multicast-join6.c
test-udp-multicast-join.c
test-udp-multicast-ttl.c
test-udp-open.c
test-udp-options.c
test-udp-send-and-recv.c
test-udp-send-immediate.c
test-udp-send-unreachable.c windows: fix buffer leak after failed udp send 2014-08-28 08:41:43 +02:00
test-udp-try-send.c
test-walk-handles.c
test-watcher-cross-stop.c test: fix watcher_cross_stop on Windows 2014-08-21 23:34:51 +02:00