Audrius Butkevicius
f91191218b
Merge pull request #19 from syncthing/pingfix
...
Simplify and improve the ping mechanism
2015-09-21 09:00:40 +01:00
AudriusButkevicius
68c5dcd83d
Add CachedSize field
2015-08-26 22:33:03 +01:00
Audrius Butkevicius
388a29bbe2
Merge pull request #17 from syncthing/fuzzing
...
Add some robustness for failure modes detected by go-fuzz
2015-08-20 09:47:47 +01:00
Audrius Butkevicius
ebcdea63c0
Use sync.Pool for response buffers
2015-08-01 12:21:49 +01:00
Audrius Butkevicius
22e24fc387
Merge pull request #15 from syncthing/conflictwins
...
Base for better conflict resolution
2015-07-21 14:45:17 +01:00
Audrius Butkevicius
7996ef0d45
Merge pull request #14 from syncthing/clusterconfigrace
...
Connection now needs explicit Start()
2015-07-10 08:31:57 +01:00
Audrius Butkevicius
9dd6f848bd
Name the folder in error messages
2015-07-09 22:38:21 +01:00
Audrius Butkevicius
95e15c95f2
Merge pull request #13 from syncthing/timeout
...
Expose timeouts in protocol
2015-06-28 11:39:51 +01:00
Audrius Butkevicius
9f871a3726
Expose timeouts in protocol
2015-06-27 11:07:44 +01:00
Audrius Butkevicius
e19e2c123e
Merge pull request #12 from syncthing/ccreq
...
Enforce ClusterConfiguration at start, then no ordering
2015-06-26 14:44:56 +01:00
Audrius Butkevicius
aa9eda1979
Add IndexTemporary and RequestTemporary flags
2015-03-26 21:30:20 +00:00
Audrius Butkevicius
1d76efcbcd
Remove duplication
2015-03-26 21:30:19 +00:00
Audrius Butkevicius
34c2c1ec16
Send and receive Request error codes
2015-03-26 21:30:19 +00:00
Audrius Butkevicius
bf7fea9a0a
Rename error to code, update xdr path
2015-03-26 21:30:19 +00:00
Audrius Butkevicius
fdf15f3ca3
Flag checking is now responsibility of the model
2015-03-26 21:30:18 +00:00
Audrius Butkevicius
1cb5875b20
Expose flags, options in Index{,Update}
2015-03-26 21:30:18 +00:00
Audrius Butkevicius
1a59a5478f
Expose hash, flags, options in Request
2015-03-26 21:30:17 +00:00
Audrius Butkevicius
5750443371
Merge pull request #10 from syncthing/vv
...
Implement version vectors
2015-03-26 13:25:04 +00:00
Audrius Butkevicius
17149741a7
Merge pull request #9 from syncthing/flags
...
Add flags and options for future extensibility
2015-03-25 21:04:14 +00:00
Audrius Butkevicius
529d91fb9d
Merge pull request #7 from syncthing/compression
...
Add more fine grained compression control
2015-03-11 19:36:02 +00:00
Audrius Butkevicius
a10c621e33
Remove 64 folder limit
2015-03-08 16:55:01 +00:00
Audrius Butkevicius
35f0e355bf
We are not using iota
2015-02-12 21:59:33 +00:00
Audrius Butkevicius
aba915037f
Add FlagsAll bit mask
2015-02-01 16:33:52 +00:00
Audrius Butkevicius
442e93d3fc
Merge pull request #2 from syncthing/integers
...
Integer type policy
2015-01-19 20:40:17 +00:00
Audrius Butkevicius
7e54868206
Merge pull request #1 from syncthing/mit
...
Relicense as MIT
2015-01-13 12:38:13 +00:00
Audrius Butkevicius and Jakob Borg
09b534b8a3
Add job queue ( fixes #629 )
...
Request to terminate currently ongoing downloads and jump to the bumped file
incoming in 3, 2, 1.
Also, has a slightly strange effect where we pop a job off the queue, but
the copyChannel is still busy and blocks, though it gets moved to the
progress slice in the jobqueue, and looks like it's in progress which it isn't
as it's waiting to be picked up from the copyChan.
As a result, the progress emitter doesn't register on the task, and hence the file
doesn't have a progress bar, but cannot be replaced by a bump.
I guess I can fix progress bar issue by moving the progressEmiter.Register just
before passing the file to the copyChan, but then we are back to the initial
problem of a file with a progress bar, but no progress happening as it's stuck
on write to copyChan
I checked if there is a way to check for channel writeability (before popping)
but got struck by lightning just for bringing the idea up in #go-nuts.
My ideal scenario would be to check if copyChan is writeable, pop job from the
queue and shove it down handleFile. This way jobs would stay in the queue while
they cannot be handled, meaning that the `Bump` could bring your file up higher.
2015-01-02 15:33:39 +01:00
Audrius Butkevicius
3af96e50bd
Use custom structure for /need calls ( fixes #1001 )
...
Also, remove trimming by number of blocks as this no longer affects the size
of the response.
2014-11-23 00:52:48 +00:00
Audrius Butkevicius and Jakob Borg
ddc56c8a0d
Add symlink support at the protocol level
2014-11-20 16:32:00 +01:00
Audrius Butkevicius and Jakob Borg
e0da2764c9
Code smell
2014-11-20 16:32:00 +01:00
Audrius Butkevicius
ec9d68960f
Remove 64 device limit
2014-10-20 21:46:53 +01:00
Audrius Butkevicius and Jakob Borg
c618eba9a9
Implement BlockMap
2014-10-16 12:26:27 +02:00
Audrius Butkevicius
1bc5632771
Run go fmt -w
2014-09-28 14:23:08 +01:00
Audrius Butkevicius
4b488a2d28
Rename Repository -> Folder, Node -> Device ( fixes #739 )
2014-09-28 14:23:07 +01:00