Skip to content

Commit

Permalink
Added the server option 'canChunk'
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienCastex committed May 25, 2017
1 parent 5923925 commit 6396a81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/server/WebDAVServerOptions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export declare class WebDAVServerOptions {
rootResource?: IResource;
userManager?: IUserManager;
lockTimeout?: number;
canChunk?: boolean;
hostname?: string;
port?: number;
}
Expand Down
1 change: 1 addition & 0 deletions lib/server/WebDAVServerOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ var WebDAVServerOptions = (function () {
this.rootResource = new RootResource_1.RootResource();
this.userManager = new SimpleUserManager_1.SimpleUserManager();
this.lockTimeout = 3600;
this.canChunk = true;
this.hostname = '::';
this.port = 1900;
}
Expand Down
1 change: 1 addition & 0 deletions src/server/WebDAVServerOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export class WebDAVServerOptions
rootResource ?: IResource = new RootResource()
userManager ?: IUserManager = new SimpleUserManager()
lockTimeout ?: number = 3600
canChunk ?: boolean = true
hostname ?: string = '::'
port ?: number = 1900
}
Expand Down

0 comments on commit 6396a81

Please sign in to comment.