Skip to content

Instantly share code, notes, and snippets.

@petreboy14
Created July 16, 2014 22:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petreboy14/c061860ee955ec1ad719 to your computer and use it in GitHub Desktop.
Save petreboy14/c061860ee955ec1ad719 to your computer and use it in GitHub Desktop.
{ domain:
{ domain: null,
_events: { error: [Function] },
_maxListeners: 10,
members: [] },
_events: {},
_maxListeners: 10,
_bench: { ts: 20826463.690304 },
server:
{ domain: null,
_events:
{ log: [Function],
internalError: [Function],
tail: [Function],
request: [Function],
response: [Function] },
_maxListeners: 10,
settings:
{ maxSockets: Infinity,
router: [Object],
state: [Object],
location: '',
payload: [Object],
validation: null,
json: [Object],
files: [Object],
timeout: [Object],
load: [Object],
debug: [Object],
labels: [],
cors: [Object],
security: null,
views: undefined },
_unixDomainSocket: false,
_windowsNamedPipe: false,
_host: '0.0.0.0',
_port: 9090,
_onConnection: [Function],
_started: true,
auth:
{ server: [Circular],
_schemes: {},
_strategies: {},
_defaultStrategy: null },
_router:
{ server: [Circular],
routes: [Object],
vhosts: null,
notfound: [Object],
badResource: [Object],
cors: [Object] },
_etags:
{ _max: 10000,
_lengthCalculator: [Function: naiveLength],
_allowStale: false,
_maxAge: null,
_dispose: undefined,
_cache: {},
_lruList: {},
_mru: 0,
_lru: 0,
_length: 0,
_itemCount: 0 },
_eventLoopTimer: null,
_loadBench: { ts: 19665239.393663 },
load: { eventLoopDelay: 0, heapUsed: 0, rss: 0 },
_ext: { _events: [Object] },
_stateDefinitions: {},
_registrations: { 'hapi-video-encoder': [Object], good: [Object] },
pack:
{ _settings: [Object],
_servers: [Object],
_byLabel: {},
_byId: [Object],
_caches: [Object],
_methods: [Object],
_handlers: [Object],
_events: [Object],
plugins: [Object],
events: [Object],
app: {},
_ext: [Object] },
plugins: { 'hapi-video-encoder': [Object], good: [Object] },
app: {},
methods: {},
listener:
{ domain: null,
_events: [Object],
_maxListeners: 10,
_connections: 1,
connections: [Getter/Setter],
_handle: [Object],
_usingSlaves: false,
_slaves: [],
allowHalfOpen: true,
httpAllowHalfOpen: false,
timeout: 120000,
_connectionKey: '4:0.0.0.0:9090' },
_agents: { https: [Object], insecureAgent: [Object], http: [Object] },
info:
{ host: '0.0.0.0',
port: 9090,
protocol: 'http',
uri: 'http://0.0.0.0:9090' },
_connections: { '172.31.2.236:53929': [Object] } },
hapi:
{ version: '6.0.2',
Boom:
{ wrap: [Function],
create: [Function],
badRequest: [Function],
unauthorized: [Function],
forbidden: [Function],
notFound: [Function],
methodNotAllowed: [Function],
notAcceptable: [Function],
proxyAuthRequired: [Function],
clientTimeout: [Function],
conflict: [Function],
resourceGone: [Function],
lengthRequired: [Function],
preconditionFailed: [Function],
entityTooLarge: [Function],
uriTooLong: [Function],
unsupportedMediaType: [Function],
rangeNotSatisfiable: [Function],
expectationFailed: [Function],
internal: [Function],
notImplemented: [Function],
badGateway: [Function],
serverTimeout: [Function],
gatewayTimeout: [Function],
badImplementation: [Function] },
boom:
{ wrap: [Function],
create: [Function],
badRequest: [Function],
unauthorized: [Function],
forbidden: [Function],
notFound: [Function],
methodNotAllowed: [Function],
notAcceptable: [Function],
proxyAuthRequired: [Function],
clientTimeout: [Function],
conflict: [Function],
resourceGone: [Function],
lengthRequired: [Function],
preconditionFailed: [Function],
entityTooLarge: [Function],
uriTooLong: [Function],
unsupportedMediaType: [Function],
rangeNotSatisfiable: [Function],
expectationFailed: [Function],
internal: [Function],
notImplemented: [Function],
badGateway: [Function],
serverTimeout: [Function],
gatewayTimeout: [Function],
badImplementation: [Function] },
Error:
{ wrap: [Function],
create: [Function],
badRequest: [Function],
unauthorized: [Function],
forbidden: [Function],
notFound: [Function],
methodNotAllowed: [Function],
notAcceptable: [Function],
proxyAuthRequired: [Function],
clientTimeout: [Function],
conflict: [Function],
resourceGone: [Function],
lengthRequired: [Function],
preconditionFailed: [Function],
entityTooLarge: [Function],
uriTooLong: [Function],
unsupportedMediaType: [Function],
rangeNotSatisfiable: [Function],
expectationFailed: [Function],
internal: [Function],
notImplemented: [Function],
badGateway: [Function],
serverTimeout: [Function],
gatewayTimeout: [Function],
badImplementation: [Function] },
error:
{ wrap: [Function],
create: [Function],
badRequest: [Function],
unauthorized: [Function],
forbidden: [Function],
notFound: [Function],
methodNotAllowed: [Function],
notAcceptable: [Function],
proxyAuthRequired: [Function],
clientTimeout: [Function],
conflict: [Function],
resourceGone: [Function],
lengthRequired: [Function],
preconditionFailed: [Function],
entityTooLarge: [Function],
uriTooLong: [Function],
unsupportedMediaType: [Function],
rangeNotSatisfiable: [Function],
expectationFailed: [Function],
internal: [Function],
notImplemented: [Function],
badGateway: [Function],
serverTimeout: [Function],
gatewayTimeout: [Function],
badImplementation: [Function] },
Server: { [Function] super_: [Object] },
Pack: { [Function] compose: [Function] },
state: { prepareValue: [Function] },
createServer: [Function] },
url:
{ protocol: null,
slashes: null,
auth: null,
host: null,
port: null,
hostname: null,
hash: null,
search: null,
query: {},
pathname: '/media',
path: '/media',
href: '/media' },
query: {},
path: '/media',
method: 'post',
mime: 'multipart/form-data',
setUrl: undefined,
setMethod: undefined,
_pathSegments: [ '', 'media' ],
headers:
{ host: 'transcode.revolttv.org:9090',
'content-type': 'multipart/form-data; boundary=--------------------------77067643267573000
5340318',
'x-forwarded-for': '76.174.168.36',
'x-forwarded-port': '9090',
'x-forwarded-proto': 'http',
'content-length': '513',
connection: 'keep-alive' },
id: '1405548973811-7592-17498',
app: {},
plugins: {},
_route:
{ settings:
{ payload: [Object],
handler: [Function],
method: 'post',
path: '/media',
vhost: undefined,
plugins: {},
app: {},
validate: [Object],
auth: undefined },
server:
{ domain: null,
_events: [Object],
_maxListeners: 10,
settings: [Object],
_unixDomainSocket: false,
_windowsNamedPipe: false,
_host: '0.0.0.0',
_port: 9090,
_onConnection: [Function],
_started: true,
auth: [Object],
_router: [Object],
_etags: [Object],
_eventLoopTimer: null,
_loadBench: [Object],
load: [Object],
_ext: [Object],
_stateDefinitions: {},
_registrations: [Object],
pack: [Object],
plugins: [Object],
app: {},
methods: {},
listener: [Object],
_agents: [Object],
info: [Object],
_connections: [Object] },
method: 'post',
env:
{ name: 'hapi-video-encoder',
path: null,
bind: null,
route: [Object],
root: [Object] },
_segments: [ [Object] ],
path: '/media',
fingerprint: '/media',
params: [],
prerequisites: null,
cycle:
[ [Function],
'onPreAuth',
[Function],
[Function],
[Function],
'onPostAuth',
'onPreHandler',
[Function],
'onPostHandler' ] },
route:
{ payload:
{ output: 'file',
uploads: '/uploads',
maxBytes: 5368709120,
parse: true,
failAction: 'error' },
handler: [Function],
method: 'post',
path: '/media',
vhost: undefined,
plugins: {},
app: {},
validate: { headers: null, params: null, query: null, payload: null },
auth: undefined },
auth:
{ isAuthenticated: false,
credentials: null,
artifacts: null,
session: null },
session: null,
pre: {},
responses: {},
info:
{ received: 1405548973811,
remoteAddress: '172.31.2.236',
remotePort: 53929,
referrer: '',
host: 'transcode.revolttv.org:9090' },
orig: {},
params: {},
payload: null,
state: {},
jsonp: null,
response:
{ [Error: Invalid multipart payload format]
data: [Error: stream ended unexpectedly],
isBoom: true,
output: { statusCode: 400, payload: [Object], headers: {} },
reformat: [Function] },
raw:
{ req:
{ _readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_maxListeners: 10,
socket: [Object],
connection: [Object],
httpVersion: '1.1',
complete: true,
headers: [Object],
trailers: {},
_pendings: [],
_pendingIndex: 0,
url: '/media',
method: 'POST',
statusCode: null,
client: [Object],
_consuming: true,
_dumped: false,
httpVersionMajor: 1,
httpVersionMinor: 1,
upgrade: false,
read: [Function] },
res:
{ domain: null,
_events: [Object],
_maxListeners: 10,
output: [],
outputEncodings: [],
writable: true,
_last: false,
chunkedEncoding: false,
shouldKeepAlive: true,
useChunkedEncodingByDefault: true,
sendDate: true,
_headerSent: false,
_header: '',
_hasBody: true,
_trailer: '',
finished: false,
_hangupClose: false,
socket: [Object],
connection: [Object] } },
addTail: [Function],
tail: [Function],
_states: {},
_logger:
[ { request: '1405548973811-7592-17498',
timestamp: 1405548973811,
tags: [Object],
data: [Object] },
{ request: '1405548973811-7592-17498',
timestamp: 1405548973832,
tags: [Object],
data: [Object] } ],
_isBailed: false,
_isReplied: true,
_isFinalized: false,
_tails: {},
_tailIds: 0,
_paramsArray: [],
_protect:
{ _error: [Function],
logger: [Circular],
domain:
{ domain: null,
_events: [Object],
_maxListeners: 10,
members: [] } },
_onClose: [Function],
_onError: [Function],
_onAborted: [Function] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment