Skip to content

Commit 2e3b5a2

Browse files
committed
Split: comments, whitespace changes, .gitignore changes
1 parent 8f8cd95 commit 2e3b5a2

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
build/
2+
.vscode/

src/HTTPCommands.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/***************************************************************
22
*
3-
* Copyright (C) 2024, Pelican Project, Morgridge Institute for Research
3+
* Copyright (C) 2025, Pelican Project, Morgridge Institute for Research
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you
66
* may not use this file except in compliance with the License. You may

src/HTTPCommands.hh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/***************************************************************
22
*
3-
* Copyright (C) 2024, Pelican Project, Morgridge Institute for Research
3+
* Copyright (C) 2025, Pelican Project, Morgridge Institute for Research
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you
66
* may not use this file except in compliance with the License. You may
@@ -297,9 +297,19 @@ class HTTPUpload : public HTTPRequest {
297297

298298
virtual bool SendRequest(const std::string &payload);
299299

300+
// Start a streaming request.
301+
//
302+
// - payload: The payload contents when uploading.
303+
// - object_size: Size of the entire upload payload.
300304
bool StartStreamingRequest(const std::string_view payload,
301305
off_t object_size);
302306

307+
// Continue a streaming request.
308+
//
309+
// - payload: The payload contents when uploading.
310+
// - object_size: Size of the entire upload payload.
311+
// - final: True if this is the last or only payload for the request. False
312+
// otherwise.
303313
bool ContinueStreamingRequest(const std::string_view payload,
304314
off_t object_size, bool final);
305315

src/HTTPFile.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/***************************************************************
22
*
3-
* Copyright (C) 2024, Pelican Project, Morgridge Institute for Research
3+
* Copyright (C) 2025, Pelican Project, Morgridge Institute for Research
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you
66
* may not use this file except in compliance with the License. You may

0 commit comments

Comments
 (0)