Commit af523d38 authored by Niels Möller's avatar Niels Möller

* server.c (do_line): Compression support.

Rev: src/server.c:1.35
parent d5e2753e
/* server.c
*
*
*
* $Id$ */
......@@ -40,10 +38,7 @@
#include "version.h"
#include "werror.h"
#include "xalloc.h"
#ifndef _GNU_SOURCE
#warning _GNU_SOURCE undefined
#endif
#include "compress.h"
#include <assert.h>
#include <string.h>
......@@ -188,11 +183,16 @@ static struct read_handler *do_line(struct line_handler **h,
#endif
)
{
struct read_handler *new = make_read_packet
(make_packet_unpad
(make_packet_debug(&closure->connection->super,
"received")),
closure->connection);
struct read_handler *new =
make_read_packet(
make_packet_unpad(
make_packet_inflate(
make_packet_debug(&closure->connection->super, "received"),
closure->connection
)
),
closure->connection
);
closure->connection->client_version
= ssh_format("%ls", length, line);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment