Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
-*- coding: utf-8 -*-
Changes with Apache Traffic Server 5.3.3

*) [TS-4227] Remove auto_ptr in SPDY plugin.

*) [TS-3634] Replace auto_ptr with ats_scoped_object.


Expand Down
4 changes: 2 additions & 2 deletions plugins/experimental/spdy/io.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <ts/ts.h>
#include <spdy/spdy.h>
#include "io.h"
#include <memory>
#include "ink_memory.h"

spdy_io_control::spdy_io_control(TSVConn v) : vconn(v), input(), output(), streams(), last_stream_id(0)
{
Expand Down Expand Up @@ -60,7 +60,7 @@ spdy_io_control::valid_client_stream_id(unsigned stream_id) const
spdy_io_stream *
spdy_io_control::create_stream(unsigned stream_id)
{
std::auto_ptr<spdy_io_stream> ptr(new spdy_io_stream(stream_id));
ats_scoped_obj<spdy_io_stream> ptr(new spdy_io_stream(stream_id));
std::pair<stream_map_type::iterator, bool> result;

result = streams.insert(std::make_pair(stream_id, ptr.get()));
Expand Down