Commit 91bac903 authored by Nick Mathewson's avatar Nick Mathewson 🐘
Browse files

r17863@catbus: nickm | 2008-02-01 00:27:07 -0500

 Bugfix from weasel: possible fix for 593: make connection_write_to_buf("") work when using zlib compression.


svn:r13347
parent f013fb5e
Loading
Loading
Loading
Loading
+2 −0
Changes for ChangeLog: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -14,6 +14,8 @@ Changes in version 0.2.0.19-alpha - 2008-0?-??
    - When our consensus networkstatus has been expired for a while, stop
      being willing to build circuits using it.  Fixes bug 401.  Bugfix on
      0.1.2.x.
    - Stop incorrectly truncating zlib responses to directory authority
      signature download requests.  Fix for bug 593.  Bugfix on 0.2.0.x.


Changes in version 0.2.0.18-alpha - 2008-01-25
+1 −1
Changes for src/or/connection.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -2250,7 +2250,7 @@ _connection_write_to_buf_impl(const char *string, size_t len,
  /* XXXX This function really needs to return -1 on failure. */
  int r;
  size_t old_datalen;
  if (!len)
  if (!len && !(zlib<0))
    return;
  /* if it's marked for close, only allow write if we mean to flush it */
  if (conn->marked_for_close && !conn->hold_open_until_flushed)
+1 −1

File changed.

Contains only whitespace changes.