This file is indexed.

/usr/share/doc/ruby-em-synchrony/examples/nethttp.rb is in ruby-em-synchrony 1.0.5-2ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
require "lib/em-synchrony"
require "net/http"

$VERBOSE = nil

EM.synchrony do
  # monkey patch default Socket code to use EventMachine Sockets instead
  TCPSocket = EventMachine::Synchrony::TCPSocket

  Net::HTTP.get_print 'www.google.com', '/index.html'

  EM.stop
end