[rygel/rygel-0-10] core: Make sure all bytes are written on HTTP POST
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/rygel-0-10] core: Make sure all bytes are written on HTTP POST
- Date: Mon, 11 Jul 2011 19:16:51 +0000 (UTC)
commit c0c710486ac45418ac5990b3bf8007a8e7d0636f
Author: Jens Georg <mail jensge org>
Date: Mon Jul 11 21:07:45 2011 +0200
core: Make sure all bytes are written on HTTP POST
src/rygel/rygel-http-post.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-http-post.vala b/src/rygel/rygel-http-post.vala
index 364e971..e2a8105 100644
--- a/src/rygel/rygel-http-post.vala
+++ b/src/rygel/rygel-http-post.vala
@@ -117,7 +117,7 @@ internal class Rygel.HTTPPost : HTTPRequest {
private void on_got_chunk (Message msg, Buffer chunk) {
try {
- this.stream.write (chunk.data, this.cancellable);
+ this.stream.write_all (chunk.data, null, this.cancellable);
} catch (Error error) {
this.handle_error (error);
this.handle_continue ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]