Sha256: 2adbb16c289908f425c228c5882845e1712c9d963facaeadfa39b1d419a4db24

Contents?: true

Size: 493 Bytes

Versions: 27

Compression:

Stored size: 493 Bytes

Contents

#!/usr/bin/env ruby
source_root = File.expand_path(File.dirname(__FILE__) + "/../..")
$LOAD_PATH.unshift("#{source_root}/lib")
require 'socket'
require 'phusion_passenger'
require 'phusion_passenger/message_channel'
require 'phusion_passenger/utils'

include PhusionPassenger
channel = MessageChannel.new(UNIXSocket.for_fd(3))
channel.write(*channel.read)
channel.write_scalar(channel.read_scalar)

io = channel.recv_io
channel.send_io(io)
io.close

channel.write(*channel.read)
channel.close

Version data entries

27 entries across 27 versions & 4 rubygems

Version Path
passenger-3.0.21 test/stub/message_channel_3.rb
passenger-3.0.19 test/stub/message_channel_3.rb
passenger-3.0.18 test/stub/message_channel_3.rb
passenger-3.0.17 test/stub/message_channel_3.rb
passenger-3.0.15 test/stub/message_channel_3.rb
passenger-3.0.14 test/stub/message_channel_3.rb
passenger-3.0.13 test/stub/message_channel_3.rb
passenger-3.0.12 test/stub/message_channel_3.rb
yspassenger-3.0.12 test/stub/message_channel_3.rb
passenger-3.0.11 test/stub/message_channel_3.rb
passenger-3.0.10 test/stub/message_channel_3.rb
passenger-3.0.9 test/stub/message_channel_3.rb
passenger-3.0.8 test/stub/message_channel_3.rb
passenger-3.0.7 test/stub/message_channel_3.rb
passenger-3.0.6 test/stub/message_channel_3.rb
passenger-3.0.5 test/stub/message_channel_3.rb
passenger-3.0.4 test/stub/message_channel_3.rb
passenger-3.0.3 test/stub/message_channel_3.rb
railsware-passenger-3.0.2.1 test/stub/message_channel_3.rb
passenger-3.0.2 test/stub/message_channel_3.rb