aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/fetch
diff options
context:
space:
mode:
authoraosipenko <aosipenko@yandex-team.ru>2022-02-10 16:48:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:08 +0300
commit69e3c43df1c96bc2ac8946bf4dfb1f5fc438ff7f (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/http/fetch
parent948fd24d47d4b3b7815aaef1686aea00ef3f4288 (diff)
downloadydb-69e3c43df1c96bc2ac8946bf4dfb1f5fc438ff7f.tar.gz
Restoring authorship annotation for <aosipenko@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/fetch')
-rw-r--r--library/cpp/http/fetch/http_digest.h2
-rw-r--r--library/cpp/http/fetch/httpfetcher.h12
-rw-r--r--library/cpp/http/fetch/httpfsm.rl68
3 files changed, 11 insertions, 11 deletions
diff --git a/library/cpp/http/fetch/http_digest.h b/library/cpp/http/fetch/http_digest.h
index 62cda1a29f..3b1872d70b 100644
--- a/library/cpp/http/fetch/http_digest.h
+++ b/library/cpp/http/fetch/http_digest.h
@@ -43,5 +43,5 @@ public:
return (!User_);
}
- const char* getHeaderInstruction() const;
+ const char* getHeaderInstruction() const;
};
diff --git a/library/cpp/http/fetch/httpfetcher.h b/library/cpp/http/fetch/httpfetcher.h
index fa7e7ab1c5..7fc251afd2 100644
--- a/library/cpp/http/fetch/httpfetcher.h
+++ b/library/cpp/http/fetch/httpfetcher.h
@@ -36,16 +36,16 @@ public:
static int TerminateNow;
THttpFetcher()
- : THttpParser<TCheck>()
- , TAlloc()
- , TWriter()
- , TAgent()
+ : THttpParser<TCheck>()
+ , TAlloc()
+ , TWriter()
+ , TAgent()
{
}
-
+
virtual ~THttpFetcher() {
}
-
+
int Fetch(THttpHeader* header, const char* path, const char* const* headers, int persistent, bool head_request = false) {
int ret = 0;
int fetcherr = 0;
diff --git a/library/cpp/http/fetch/httpfsm.rl6 b/library/cpp/http/fetch/httpfsm.rl6
index 35a6f972bb..eab0328b18 100644
--- a/library/cpp/http/fetch/httpfsm.rl6
+++ b/library/cpp/http/fetch/httpfsm.rl6
@@ -11,10 +11,10 @@
#include <library/cpp/http/fetch/httpheader.h>
#include <library/cpp/http/fetch/httpfsm.h>
-#ifdef _MSC_VER
-#pragma warning(disable: 4702) // unreachable code
-#endif
-
+#ifdef _MSC_VER
+#pragma warning(disable: 4702) // unreachable code
+#endif
+
#define c(i) I = i;
#define m(i) I = std::max(I, (long)i);