]> sjero.net Git - wget/blobdiff - src/ChangeLog
[svn] Remove the "rbuf" buffering layer. Provide peeking primitives instead.
[wget] / src / ChangeLog
index 87e05571b0197ee6690def124717a21043bff8cb..f27a486f9d5b7924481ce126b49a889c98ef04a9 100644 (file)
@@ -1,3 +1,25 @@
+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