Skip to content

Instantly share code, notes, and snippets.

@felixrabe
Created October 3, 2014 10:11
Show Gist options
  • Save felixrabe/806e7d685e684bb1a663 to your computer and use it in GitHub Desktop.
Save felixrabe/806e7d685e684bb1a663 to your computer and use it in GitHub Desktop.
Running fetch.js calls onData repeatedly, then does not quit
vagrant@vagrant-ubuntu-trusty-64:~/example$ node ./node_modules/ndn-js-by-felixrabe/tests/node/fetch.js
Express name /
Data received in callback.
Name: /ndn/es/urjc/%C1.Router/insula/NLSR/INFO/%07%24%08%03ndn%08%03edu%08%05wustl%08%08%C1.Router%08%07wundngw/%00%00%01H%D5%7B-%7D
Content: INFO
NAME: /ndn/es/urjc/%C1.Router/insula/NLSR/INFO/%07%24%08%03ndn%08%03edu%08%05wustl%08%08%C1.Router%08%07wundngw/%00%00%01H%D5%7B-%7D
CONTENT(ASCII): INFO
CONTENT(hex): 494e464f
Signature(hex): c8e42ce73789c9d51d60712012cb87a612e4ad6ef812b41103e0b399776c527e5a14adcac5e342445e6f845be2a3720b77f6b83b4188be77a8dc26f924781a72c1e3b4033950227057e171fa6015c60fa02c47c8ca1ae100ab8d4b7fa61c49799dea3d6dbb09c37531c57e2bd759541f58ac0fba6f60e8a7a8d8ccafc0235a37380f7fb8d5e54b61f03f36d31008c8b6f159e289c10e06bf7f86b21bcbcbd07e7f5532d6944a3b8379a84b28fcb4d5301a2a93e290c74b713d65fd826397c15565859ebbaeff937c79cc53e0eb1e03cda5a9a4e3d32c6ac7d912016ac0e80347d0cc282656b3c2837090109cc4db670e85465db7f0f2dea8dfb29cda96e395dc
Publisher Public Key Digest(hex): aa1c3cada4a6f6b173ff68fc85a8c0724bff8b543ee5b81a0e823125804276f6
TimeStamp: Fri Oct 03 2014 10:08:13 GMT+0000 (UTC)
TimeStamp(number): 1412330893646
keyLocator: KeyName: /ndn/es/urjc/%C1.Router/insula/NLSR/KEY/ksk-1412290641764/ID-CERT
Quit script now.
Data received in callback.
Name: /ndn/es/urjc/%C1.Router/insula/NLSR/INFO/%07%24%08%03ndn%08%03edu%08%05wustl%08%08%C1.Router%08%07wundngw/%00%00%01H%D5%7B-%7D
Content: INFO
NAME: /ndn/es/urjc/%C1.Router/insula/NLSR/INFO/%07%24%08%03ndn%08%03edu%08%05wustl%08%08%C1.Router%08%07wundngw/%00%00%01H%D5%7B-%7D
CONTENT(ASCII): INFO
CONTENT(hex): 494e464f
Signature(hex): c8e42ce73789c9d51d60712012cb87a612e4ad6ef812b41103e0b399776c527e5a14adcac5e342445e6f845be2a3720b77f6b83b4188be77a8dc26f924781a72c1e3b4033950227057e171fa6015c60fa02c47c8ca1ae100ab8d4b7fa61c49799dea3d6dbb09c37531c57e2bd759541f58ac0fba6f60e8a7a8d8ccafc0235a37380f7fb8d5e54b61f03f36d31008c8b6f159e289c10e06bf7f86b21bcbcbd07e7f5532d6944a3b8379a84b28fcb4d5301a2a93e290c74b713d65fd826397c15565859ebbaeff937c79cc53e0eb1e03cda5a9a4e3d32c6ac7d912016ac0e80347d0cc282656b3c2837090109cc4db670e85465db7f0f2dea8dfb29cda96e395dc
Publisher Public Key Digest(hex): aa1c3cada4a6f6b173ff68fc85a8c0724bff8b543ee5b81a0e823125804276f6
TimeStamp: Fri Oct 03 2014 10:08:13 GMT+0000 (UTC)
TimeStamp(number): 1412330893646
keyLocator: KeyName: /ndn/es/urjc/%C1.Router/insula/NLSR/KEY/ksk-1412290641764/ID-CERT
Quit script now.
Data received in callback.
Name: /ndn/es/urjc/%C1.Router/insula/NLSR/INFO/%07%24%08%03ndn%08%03edu%08%05wustl%08%08%C1.Router%08%07wundngw/%00%00%01H%D5%7B-%7D
Content: INFO
NAME: /ndn/es/urjc/%C1.Router/insula/NLSR/INFO/%07%24%08%03ndn%08%03edu%08%05wustl%08%08%C1.Router%08%07wundngw/%00%00%01H%D5%7B-%7D
CONTENT(ASCII): INFO
CONTENT(hex): 494e464f
Signature(hex): c8e42ce73789c9d51d60712012cb87a612e4ad6ef812b41103e0b399776c527e5a14adcac5e342445e6f845be2a3720b77f6b83b4188be77a8dc26f924781a72c1e3b4033950227057e171fa6015c60fa02c47c8ca1ae100ab8d4b7fa61c49799dea3d6dbb09c37531c57e2bd759541f58ac0fba6f60e8a7a8d8ccafc0235a37380f7fb8d5e54b61f03f36d31008c8b6f159e289c10e06bf7f86b21bcbcbd07e7f5532d6944a3b8379a84b28fcb4d5301a2a93e290c74b713d65fd826397c15565859ebbaeff937c79cc53e0eb1e03cda5a9a4e3d32c6ac7d912016ac0e80347d0cc282656b3c2837090109cc4db670e85465db7f0f2dea8dfb29cda96e395dc
Publisher Public Key Digest(hex): aa1c3cada4a6f6b173ff68fc85a8c0724bff8b543ee5b81a0e823125804276f6
TimeStamp: Fri Oct 03 2014 10:08:13 GMT+0000 (UTC)
TimeStamp(number): 1412330893646
keyLocator: KeyName: /ndn/es/urjc/%C1.Router/insula/NLSR/KEY/ksk-1412290641764/ID-CERT
Quit script now.
Data received in callback.
Name: /ndn/es/urjc/%C1.Router/insula/NLSR/INFO/%07%24%08%03ndn%08%03edu%08%05wustl%08%08%C1.Router%08%07wundngw/%00%00%01H%D5%7B-%7D
Content: INFO
NAME: /ndn/es/urjc/%C1.Router/insula/NLSR/INFO/%07%24%08%03ndn%08%03edu%08%05wustl%08%08%C1.Router%08%07wundngw/%00%00%01H%D5%7B-%7D
CONTENT(ASCII): INFO
CONTENT(hex): 494e464f
Signature(hex): c8e42ce73789c9d51d60712012cb87a612e4ad6ef812b41103e0b399776c527e5a14adcac5e342445e6f845be2a3720b77f6b83b4188be77a8dc26f924781a72c1e3b4033950227057e171fa6015c60fa02c47c8ca1ae100ab8d4b7fa61c49799dea3d6dbb09c37531c57e2bd759541f58ac0fba6f60e8a7a8d8ccafc0235a37380f7fb8d5e54b61f03f36d31008c8b6f159e289c10e06bf7f86b21bcbcbd07e7f5532d6944a3b8379a84b28fcb4d5301a2a93e290c74b713d65fd826397c15565859ebbaeff937c79cc53e0eb1e03cda5a9a4e3d32c6ac7d912016ac0e80347d0cc282656b3c2837090109cc4db670e85465db7f0f2dea8dfb29cda96e395dc
Publisher Public Key Digest(hex): aa1c3cada4a6f6b173ff68fc85a8c0724bff8b543ee5b81a0e823125804276f6
TimeStamp: Fri Oct 03 2014 10:08:13 GMT+0000 (UTC)
TimeStamp(number): 1412330893646
keyLocator: KeyName: /ndn/es/urjc/%C1.Router/insula/NLSR/KEY/ksk-1412290641764/ID-CERT
Quit script now.
Data received in callback.
Name: /ndn/es/urjc/%C1.Router/insula/NLSR/INFO/%07%24%08%03ndn%08%03edu%08%05wustl%08%08%C1.Router%08%07wundngw/%00%00%01H%D5%7B-%7D
Content: INFO
NAME: /ndn/es/urjc/%C1.Router/insula/NLSR/INFO/%07%24%08%03ndn%08%03edu%08%05wustl%08%08%C1.Router%08%07wundngw/%00%00%01H%D5%7B-%7D
CONTENT(ASCII): INFO
CONTENT(hex): 494e464f
Signature(hex): c8e42ce73789c9d51d60712012cb87a612e4ad6ef812b41103e0b399776c527e5a14adcac5e342445e6f845be2a3720b77f6b83b4188be77a8dc26f924781a72c1e3b4033950227057e171fa6015c60fa02c47c8ca1ae100ab8d4b7fa61c49799dea3d6dbb09c37531c57e2bd759541f58ac0fba6f60e8a7a8d8ccafc0235a37380f7fb8d5e54b61f03f36d31008c8b6f159e289c10e06bf7f86b21bcbcbd07e7f5532d6944a3b8379a84b28fcb4d5301a2a93e290c74b713d65fd826397c15565859ebbaeff937c79cc53e0eb1e03cda5a9a4e3d32c6ac7d912016ac0e80347d0cc282656b3c2837090109cc4db670e85465db7f0f2dea8dfb29cda96e395dc
Publisher Public Key Digest(hex): aa1c3cada4a6f6b173ff68fc85a8c0724bff8b543ee5b81a0e823125804276f6
TimeStamp: Fri Oct 03 2014 10:08:13 GMT+0000 (UTC)
TimeStamp(number): 1412330893646
keyLocator: KeyName: /ndn/es/urjc/%C1.Router/insula/NLSR/KEY/ksk-1412290641764/ID-CERT
Quit script now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment