You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2017/11/30 07:26:58 UTC
[trafficserver] branch quic-latest updated (2d3a142 -> 99bf22a)
This is an automated email from the ASF dual-hosted git repository.
maskit pushed a change to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git.
from 2d3a142 Update application name for ALPN to hq-07
new 463b305 Increase buffer size for SSL error messages
new 99bf22a Remove an unused type QUICMaximumData
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
iocore/net/quic/QUICCrypto.cc | 2 +-
iocore/net/quic/QUICTypes.h | 54 -------------------------------------------
2 files changed, 1 insertion(+), 55 deletions(-)
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].
[trafficserver] 02/02: Remove an unused type QUICMaximumData
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
maskit pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 99bf22ad4d7fe09c7966005956f1894b91646133
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Thu Nov 30 16:26:03 2017 +0900
Remove an unused type QUICMaximumData
---
iocore/net/quic/QUICTypes.h | 54 ---------------------------------------------
1 file changed, 54 deletions(-)
diff --git a/iocore/net/quic/QUICTypes.h b/iocore/net/quic/QUICTypes.h
index a5bd4d1..3f762a4 100644
--- a/iocore/net/quic/QUICTypes.h
+++ b/iocore/net/quic/QUICTypes.h
@@ -242,60 +242,6 @@ private:
enum class QUICStreamType { SERVER, CLIENT, HANDSHAKE };
-class QUICMaximumData
-{
-public:
- QUICMaximumData(uint64_t d) : _data(d) {}
- bool
- operator>(uint64_t r) const
- {
- return this->_data > (r / 1024);
- }
-
- bool
- operator<(uint64_t r) const
- {
- return this->_data < (r / 1024);
- }
-
- bool
- operator>=(uint64_t r) const
- {
- return this->_data >= (r / 1024);
- }
-
- bool
- operator<=(uint64_t r) const
- {
- return this->_data <= (r / 1024);
- }
-
- bool
- operator==(uint64_t r) const
- {
- return this->_data == (r / 1024);
- }
-
- QUICMaximumData &
- operator=(uint64_t d)
- {
- this->_data = d;
- return *this;
- }
-
- QUICMaximumData &
- operator+=(uint64_t d)
- {
- this->_data += d;
- return *this;
- }
-
- operator uint64_t() const { return _data; }
-
-private:
- uint64_t _data = 0; // in units of 1024 octets
-};
-
class QUICTypeUtil
{
public:
--
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.
[trafficserver] 01/02: Increase buffer size for SSL error messages
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
maskit pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 463b30577acb800eb80463ca7885eced4285e9a9
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Thu Nov 30 15:31:25 2017 +0900
Increase buffer size for SSL error messages
---
iocore/net/quic/QUICCrypto.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iocore/net/quic/QUICCrypto.cc b/iocore/net/quic/QUICCrypto.cc
index 3e45928..77b38e8 100644
--- a/iocore/net/quic/QUICCrypto.cc
+++ b/iocore/net/quic/QUICCrypto.cc
@@ -127,7 +127,7 @@ QUICCryptoTls::handshake(uint8_t *out, size_t &out_len, size_t max_out_len, cons
case SSL_ERROR_WANT_WRITE:
break;
default:
- char err_buf[32] = {0};
+ char err_buf[256] = {0};
ERR_error_string_n(err, err_buf, sizeof(err_buf));
Debug(tag, "Handshake error: %s (%d)", err_buf, err);
return false;
--
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.