Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
eos
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
JIRA
JIRA
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dss
eos
Commits
065d4c43
Commit
065d4c43
authored
Jun 28, 2018
by
Andreas Joachim Peters
Committed by
Elvin Sindrilaru
Jun 29, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MGM: bridge 'xc-oc-mtime' header of a PUT request on the MGM
parent
a7a1fd5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
HttpHandler.cc
mgm/http/HttpHandler.cc
+6
-0
No files found.
mgm/http/HttpHandler.cc
View file @
065d4c43
...
...
@@ -845,6 +845,12 @@ HttpHandler::Put(eos::common::HttpRequest* request)
query
=
"eos.bookingsize=0"
;
}
if
(
request
->
GetHeaders
().
count
(
"x-oc-mtime"
))
{
// there is an X-OC-Mtime header to force the mtime for that file
query
+=
"&eos.mtime="
;
query
+=
request
->
GetHeaders
()[
"x-oc-mtime"
];
}
if
(
isOcChunked
)
{
// add the OC opaque information
query
+=
eos
::
common
::
OwnCloud
::
HeaderToQuery
(
ocHeader
).
c_str
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment