projects
/
bluesky.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3e1f89f
)
Fix byte range request syntax.
author
Michael Vrable
<mvrable@cs.ucsd.edu>
Fri, 25 Feb 2011 01:07:19 +0000
(17:07 -0800)
committer
Michael Vrable
<mvrable@cs.ucsd.edu>
Fri, 25 Feb 2011 01:07:19 +0000
(17:07 -0800)
bluesky/store-azure.c
patch
|
blob
|
history
diff --git
a/bluesky/store-azure.c
b/bluesky/store-azure.c
index
44101ec
..
314de3f
100644
(file)
--- a/
bluesky/store-azure.c
+++ b/
bluesky/store-azure.c
@@
-307,13
+307,13
@@
static void azurestore_task(gpointer a, gpointer s)
if (async->start != 0 && async->len != 0) {
g_hash_table_insert(headers,
g_strdup("Range"),
if (async->start != 0 && async->len != 0) {
g_hash_table_insert(headers,
g_strdup("Range"),
- g_strdup_printf("%zd-%zd", async->start,
+ g_strdup_printf("
bytes=
%zd-%zd", async->start,
async->start + async->len));
async->range_done = TRUE;
} else if (async->start != 0) {
g_hash_table_insert(headers,
g_strdup("Range"),
async->start + async->len));
async->range_done = TRUE;
} else if (async->start != 0) {
g_hash_table_insert(headers,
g_strdup("Range"),
- g_strdup_printf("%zd-", async->start));
+ g_strdup_printf("
bytes=
%zd-", async->start));
async->range_done = TRUE;
}
result = submit_request(store, curl, "GET", async->key, headers, NULL);
async->range_done = TRUE;
}
result = submit_request(store, curl, "GET", async->key, headers, NULL);