aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authoragalakhov <agalakhov@yandex-team.ru>2022-02-10 16:49:51 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:51 +0300
commit8e39421d5f7b28ca12255c9a4fd8a6c593592588 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library
parent61a83e458f803c69f5d9d74e5d716cb95b3f2225 (diff)
downloadydb-8e39421d5f7b28ca12255c9a4fd8a6c593592588.tar.gz
Restoring authorship annotation for <agalakhov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library')
-rw-r--r--library/cpp/coroutine/engine/condvar.h6
-rw-r--r--library/cpp/coroutine/engine/events.h2
-rw-r--r--library/cpp/http/fetch/httpheader.h30
3 files changed, 19 insertions, 19 deletions
diff --git a/library/cpp/coroutine/engine/condvar.h b/library/cpp/coroutine/engine/condvar.h
index 7629392399..ffceede6fa 100644
--- a/library/cpp/coroutine/engine/condvar.h
+++ b/library/cpp/coroutine/engine/condvar.h
@@ -11,9 +11,9 @@ public:
const int ret = WaitQueue_.WaitD(current, deadline);
if (ret != EWAKEDUP) {
- return ret;
- }
-
+ return ret;
+ }
+
return mutex->LockD(current, deadline);
}
diff --git a/library/cpp/coroutine/engine/events.h b/library/cpp/coroutine/engine/events.h
index 39d2a8025c..07cc4d25e8 100644
--- a/library/cpp/coroutine/engine/events.h
+++ b/library/cpp/coroutine/engine/events.h
@@ -93,7 +93,7 @@ public:
Waiters_.PopFront()->Wake();
}
}
-
+
void BroadCast() noexcept {
while (!Waiters_.Empty()) {
Waiters_.PopFront()->Wake();
diff --git a/library/cpp/http/fetch/httpheader.h b/library/cpp/http/fetch/httpheader.h
index 697adb681d..b2810bbd41 100644
--- a/library/cpp/http/fetch/httpheader.h
+++ b/library/cpp/http/fetch/httpheader.h
@@ -98,18 +98,18 @@ public:
void Print() const {
printf("content_length: %" PRIi64 "\n", content_length);
- printf("http_time: %" PRIi64 "\n", http_time);
- printf("http_minor: %" PRIi8 "\n", http_minor);
- printf("mime_type: %" PRIi8 "\n", mime_type);
- printf("charset: %" PRIi8 "\n", charset);
- printf("compression_method: %" PRIi8 "\n", compression_method);
- printf("transfer_chunked: %" PRIi8 "\n", transfer_chunked);
- printf("connection_closed: %" PRIi8 "\n", connection_closed);
+ printf("http_time: %" PRIi64 "\n", http_time);
+ printf("http_minor: %" PRIi8 "\n", http_minor);
+ printf("mime_type: %" PRIi8 "\n", mime_type);
+ printf("charset: %" PRIi8 "\n", charset);
+ printf("compression_method: %" PRIi8 "\n", compression_method);
+ printf("transfer_chunked: %" PRIi8 "\n", transfer_chunked);
+ printf("connection_closed: %" PRIi8 "\n", connection_closed);
printf("content_range_start: %" PRIi64 "\n", content_range_start);
printf("content_range_end: %" PRIi64 "\n", content_range_end);
printf("content_range_entity_length: %" PRIi64 "\n", content_range_entity_length);
printf("base: \"%s\"\n", base.c_str());
- printf("error: %" PRIi16 "\n", error);
+ printf("error: %" PRIi16 "\n", error);
}
int SetBase(const char* path,
@@ -156,9 +156,9 @@ public:
void Print() const {
THttpBaseHeader::Print();
- printf("http_status: %" PRIi16 "\n", http_status);
- printf("squid_error: %" PRIi8 "\n", squid_error);
- printf("accept_ranges: %" PRIi8 "\n", accept_ranges);
+ printf("http_status: %" PRIi16 "\n", http_status);
+ printf("squid_error: %" PRIi8 "\n", squid_error);
+ printf("accept_ranges: %" PRIi8 "\n", accept_ranges);
printf("location: \"%s\"\n", location.c_str());
printf("retry_after: %" PRIi64 "\n", retry_after);
}
@@ -208,10 +208,10 @@ public:
printf("host: \"%s\"\n", host);
printf("from: \"%s\"\n", from);
printf("user_agent: \"%s\"\n", user_agent);
- printf("http_method: %" PRIi8 "\n", http_method);
- printf("response_timeout: %" PRIi32 "\n", x_yandex_response_timeout);
- printf("max_age: %" PRIi32 "\n", max_age);
- printf("if_modified_since: %" PRIi64 "\n", if_modified_since);
+ printf("http_method: %" PRIi8 "\n", http_method);
+ printf("response_timeout: %" PRIi32 "\n", x_yandex_response_timeout);
+ printf("max_age: %" PRIi32 "\n", max_age);
+ printf("if_modified_since: %" PRIi64 "\n", if_modified_since);
}
/// It doesn't care about errors in request or headers, where