Olivier Goffart
882e027e40
Remove dead condition
...
rc==123 was a magic value set to mean not to save the error. But after
some refactoring, it is not done like that anymore
2013-06-07 16:43:48 +02:00
Daniel Molkentin
5a2d7e9c9f
Do not corrupt ctx->replica value if push_file fails
2013-06-07 14:58:38 +02:00
Klaas Freitag
d9ef991448
Removed unused progress info allocation.
2013-06-07 09:18:27 +02:00
Olivier Goffart
bb03664bfd
Let csync_update report the right error.
...
The problem is that the call to csync_memstat_check will try to open a
file, that will fail on windows and override the errno
2013-06-06 10:44:52 +02:00
Klaas Freitag
f320f9c701
void an unused variable.
2013-06-05 16:39:06 +02:00
Klaas Freitag
e92dd4c1da
Removed some logs that are not needed.
2013-06-05 16:35:48 +02:00
Klaas Freitag
cab00ea668
Added missing CloseHandle, detected by Coverty.
2013-06-05 16:34:58 +02:00
Daniel Molkentin
e92a422d3d
Send OC-Chunked instead of OC_CHUNKED.
...
Will still be understood by the server, as PHP mangles the header
to read HTTP_OC_CHUNKED in both cases.
2013-06-03 22:51:28 +02:00
Klaas Freitag
9001dbb082
Use variable verb and avoid warnings.
2013-06-03 17:23:39 +02:00
Olivier Goffart
22a07634b6
Fix upload of big files when proxy remove the OC_CHUNKED header
...
In that case, the first chun would be uploaded as a chunk.
Take that case into account and if we get a success after only one
chunk, we try to delete the chunk, and it it worked, it means chunking
was not supported.
2013-06-03 17:23:39 +02:00
Daniel Molkentin
a06078f89f
bump version
2013-05-31 16:26:54 +02:00
Klaas Freitag
fe6fdb5e88
Enable NE_LFS, important for Win32 platform.
2013-05-31 13:23:21 +02:00
Daniel Molkentin
c53ad974ee
Make socks proxies work.
2013-05-29 14:17:30 +02:00
Daniel Molkentin
4d663f6cfa
More cheating on proxies: Add OS to User-Agent
2013-05-28 19:35:54 +02:00
Daniel Molkentin
95c532c46a
Set User-Agent to contain Mozilla/5.0 string
...
A blatant lie for a blatant abuse of Firewall filters.
2013-05-28 15:46:03 +02:00
Klaas Freitag
20969cf6bb
Removed an extra space.
2013-05-24 15:43:42 +02:00
Klaas Freitag
e4b9f21f81
Fix statedb load test case.
2013-05-22 16:51:09 +02:00
Klaas Freitag
f2669ae886
Fix statedb-query test.
2013-05-22 16:43:31 +02:00
Daniel Molkentin
39cfe91da6
fix httpbf test case
2013-05-22 16:32:08 +02:00
Daniel Molkentin
45e5578b52
init to false in case of doubt
2013-05-22 16:15:26 +02:00
Klaas Freitag
92b0af4b0a
Compare the correct type.
2013-05-22 16:13:27 +02:00
Klaas Freitag
126559b2be
For new databases, skip the is-empty check.
2013-05-22 16:10:43 +02:00
Klaas Freitag
0764ef1620
For directories, do not consider the size as its invalid on remote.
2013-05-22 16:10:43 +02:00
Daniel Molkentin
10437db2f9
Bump version
2013-05-22 15:33:42 +02:00
Klaas Freitag
8115f71096
Avoid memory allocation screwup.
2013-05-22 12:33:09 +02:00
Klaas Freitag
4a58cae0b0
Finialize insert statement.
2013-05-22 12:33:09 +02:00
Klaas Freitag
bcdd8b95bf
Allow empty MD5 sum on save, happens with directoires.
2013-05-22 12:33:09 +02:00
Klaas Freitag
69d251630f
Code cleanups, move closedb out of if statements.
2013-05-22 12:33:09 +02:00
Klaas Freitag
02f93ec4d5
Free allocted memory of local and remote list.
2013-05-22 12:33:09 +02:00
Klaas Freitag
dd8ceacf75
Avoid compile warning due to non-top variable declaration.
2013-05-22 12:33:09 +02:00
Klaas Freitag
673ca36db8
More efficient database writing, do integrity check on db.
2013-05-22 12:33:09 +02:00
Klaas Freitag
68e0dbb18f
Use wide character unlink.
2013-05-22 12:32:25 +02:00
Klaas Freitag
4ad01b35ce
Switch on full synchronous mode for sqlite.
2013-05-20 11:10:27 +02:00
Klaas Freitag
053a9b7da0
Add neon includes to httpbf build
2013-05-17 12:45:39 +02:00
Klaas Freitag
61335b6a70
Do not set the error_code from errno
2013-05-17 12:25:17 +02:00
Klaas Freitag
4f47aba1e2
Allow user aborting in chunked uploads
2013-05-16 17:37:30 +02:00
Klaas Freitag
2385bbcf55
Add an abort callback.
2013-05-16 17:37:00 +02:00
Klaas Freitag
ad7aac4152
Rather use eq and ne for string comparison.
2013-05-16 16:12:27 +02:00
Daniel Molkentin
b9c7980433
Work on non-mac again
2013-05-16 15:00:52 +02:00
Daniel Molkentin
ecff867e46
Get further on mac
2013-05-16 13:02:51 +02:00
Klaas Freitag
4af8f470e8
Check the stat result.
2013-05-16 12:46:06 +02:00
Olivier Goffart
5c79d8bdef
t3.pl: test renaming folder
...
Add a test to test that renaming folder and doing complex stuff in them
works
2013-05-15 17:59:13 +02:00
Olivier Goffart
d8d4f118d7
Fix possible leak
2013-05-15 17:59:13 +02:00
Daniel Molkentin
6b4501fd4b
Try to make t1 utf-8-mac safe
2013-05-15 17:57:19 +02:00
Daniel Molkentin
ccb8fcc614
ignore t1.cfg
2013-05-15 14:39:23 +02:00
Klaas Freitag
551d457c7c
Pulled Test.pm out of t1.pl for reuse. Simplified t1.pl.
2013-05-15 11:15:50 +02:00
Klaas Freitag
eb2997e609
Normalized UTF-8 and createLocalFile added.
2013-05-14 17:46:35 +02:00
Klaas Freitag
ae1541a95f
Dependency info added.
2013-05-14 16:32:36 +02:00
Klaas Freitag
f56a075f36
Create directories vio mkcol and do not compare dir sizes.
2013-05-14 16:01:57 +02:00
Olivier Goffart
00d27d0e9c
Fix HTTPBF again
...
it really needs to be %u because if it is signed, then we have -- in the
URL which the server can't understand
2013-05-14 15:30:56 +02:00