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 2018/01/16 05:30:14 UTC

[trafficserver] 01/02: Rename QUICStreamManager::create_client_stream to QUICStreamManager::create_stream

This is an automated email from the ASF dual-hosted git repository.

masaori pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 124c4d7af5ac0c21f6574a3ba5e4ba5b06cfd66d
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Tue Jan 16 14:03:33 2018 +0900

    Rename QUICStreamManager::create_client_stream to QUICStreamManager::create_stream
---
 iocore/net/QUICNetVConnection.cc     | 2 +-
 iocore/net/quic/QUICStreamManager.cc | 2 +-
 iocore/net/quic/QUICStreamManager.h  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/iocore/net/QUICNetVConnection.cc b/iocore/net/QUICNetVConnection.cc
index 582025d..45d4163 100644
--- a/iocore/net/QUICNetVConnection.cc
+++ b/iocore/net/QUICNetVConnection.cc
@@ -160,7 +160,7 @@ int
 QUICNetVConnection::connectUp(EThread *t, int fd)
 {
   // create stream for handshake
-  QUICErrorUPtr error = this->_stream_manager->create_client_stream(STREAM_ID_FOR_HANDSHAKE);
+  QUICErrorUPtr error = this->_stream_manager->create_stream(STREAM_ID_FOR_HANDSHAKE);
   if (error->cls != QUICErrorClass::NONE) {
     QUICConDebug("Couldn't create stream for handshake");
 
diff --git a/iocore/net/quic/QUICStreamManager.cc b/iocore/net/quic/QUICStreamManager.cc
index a1ed28c..1f27a7d 100644
--- a/iocore/net/quic/QUICStreamManager.cc
+++ b/iocore/net/quic/QUICStreamManager.cc
@@ -92,7 +92,7 @@ QUICStreamManager::set_max_stream_id(QUICStreamId id)
 }
 
 QUICErrorUPtr
-QUICStreamManager::create_client_stream(QUICStreamId stream_id)
+QUICStreamManager::create_stream(QUICStreamId stream_id)
 {
   // TODO: check stream_id
   QUICStream *stream = this->_find_or_create_stream(stream_id);
diff --git a/iocore/net/quic/QUICStreamManager.h b/iocore/net/quic/QUICStreamManager.h
index bedb85b..37375b4 100644
--- a/iocore/net/quic/QUICStreamManager.h
+++ b/iocore/net/quic/QUICStreamManager.h
@@ -48,7 +48,7 @@ public:
   void add_total_offset_sent(uint32_t sent_byte);
 
   uint32_t stream_count() const;
-  QUICErrorUPtr create_client_stream(QUICStreamId stream_id);
+  QUICErrorUPtr create_stream(QUICStreamId stream_id);
 
   void set_default_application(QUICApplication *app);
 

-- 
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.