]> sjero.net Git - wget/blobdiff - src/ChangeLog
[svn] Remove the "rbuf" buffering layer. Provide peeking primitives instead.
[wget] / src / ChangeLog
index 2d74e2b8dd8f395ec88ea3016ba4f379c79fbb83..f27a486f9d5b7924481ce126b49a889c98ef04a9 100644 (file)
@@ -1,3 +1,32 @@
+2003-11-21  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * rbuf.c: Removed.
+
+       * ftp-basic.c (ftp_response): Use fd_read_line.  No longer use
+       struct rbuf.  Updated all callers.
+
+       * http.c (gethttp): Use fd_read_head to read all the headers in
+       one go.
+       (next_header): New function.
+
+       * retr.c (fd_read_line): New function: reads a line from FD,
+       leaving the rest of the data unread.
+       (fd_read_head): New function.
+
+       * connect.c (fd_peek): New function, implements peeking.
+       (poll_internal): New function.
+       (fd_read): Use it.
+       (fd_write): Ditto.
+       (fd_peek): Ditto.
+       (fd_register_transport): Allow registering a "peeker" callback.
+
+2003-11-20  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * connect.c: Renamed xread/xwrite/xclose to
+       fd_read/fd_write/fd_close.  The "x" prefix is not appropriate
+       because the semantics have diverged from read/write/close too
+       significantly.  Updated all callers.
+
 2003-11-20  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * connect.c (sock_write): It's not necessary to initialize RES.