00:00:01  * ircretaryquit (Remote host closed the connection)
00:00:03  <Dirkson>Does libuv provide any way to determine if the machine I'm on has a viable ipv6 address?
00:00:09  * ircretaryjoined
00:06:29  * daviddiasquit (Remote host closed the connection)
00:06:58  * daviddiasjoined
00:08:21  * daviddia_joined
00:08:31  * daviddiasquit (Read error: No route to host)
00:09:49  * kevinsimperjoined
00:11:11  * cphooverquit (Quit: Leaving.)
00:12:38  * daviddia_quit (Ping timeout: 240 seconds)
00:12:47  * wolfeidaujoined
00:14:49  * kevinsimperquit (Ping timeout: 268 seconds)
00:17:18  * sh1mmerjoined
00:18:36  * kazuponjoined
00:19:39  * EM3RYchanged nick to emery
00:20:24  * calvinfojoined
00:23:18  * kazuponquit (Ping timeout: 255 seconds)
00:24:56  * stagasquit (Read error: Connection reset by peer)
00:32:00  * wolfeidauquit (Remote host closed the connection)
00:32:05  * paulfryzeljoined
00:33:32  * wolfeidaujoined
00:36:18  * paulfryzelquit (Ping timeout: 240 seconds)
00:43:59  * calvinfoquit (Quit: Leaving.)
00:44:24  * thlorenzjoined
00:46:47  * sh1mmerquit (Quit: sh1mmer)
00:47:30  * cphooverjoined
00:56:11  * petka_quit (Quit: Connection closed for inactivity)
00:57:13  * mcavage_quit
01:10:18  * wolfeidauquit (Remote host closed the connection)
01:11:38  * trevnorrisquit (Ping timeout: 240 seconds)
01:12:11  * brunklequit (Quit: brunkle)
01:12:50  * cphooverquit (Remote host closed the connection)
01:16:32  * trevnorrisjoined
01:19:30  * kazuponjoined
01:19:30  * paulfryz_changed nick to paulfryzel
01:22:04  <Dirkson>The book says "IPv6 sockets can be used for both IPv4 and IPv6 communication". Does that mean if I try to create an ipv6 socket on a machine without an ipv6 address, it'll Just Work using ipv4?
01:22:32  * sh1mmerjoined
01:22:42  <Dirkson>I'm not really sure how that'd work, given that I'm not binding an ipv4 address at any point...
01:23:27  * kazupon_joined
01:24:30  * kazuponquit (Ping timeout: 268 seconds)
01:26:33  * wolfeidaujoined
01:27:25  * Qardquit (Ping timeout: 252 seconds)
01:30:11  * sh1mmerquit (Quit: sh1mmer)
01:30:35  * sh1mmerjoined
01:38:37  * rmgquit (Remote host closed the connection)
01:49:00  * kpdeckerjoined
02:02:53  * kazupon_quit (Remote host closed the connection)
02:06:24  * TooTallNatequit (Quit: Computer has gone to sleep.)
02:10:09  * rmgjoined
02:10:36  * kevinsimperjoined
02:14:43  * rmgquit (Ping timeout: 252 seconds)
02:14:58  * kevinsimperquit (Ping timeout: 240 seconds)
02:20:18  * kpdeckerquit (Ping timeout: 240 seconds)
02:21:03  * seldoquit (Remote host closed the connection)
02:21:36  * kpdeckerjoined
02:28:35  * perezdjoined
02:29:35  * perezdquit (Client Quit)
02:31:53  <Dirkson>Any chance someone could help me suss out what is meant by "18, EINVAL, "invalid argument") " The only argument I'm passing uv_run are the uv_loop_t loop and UV_RUN_NOWAIT.
02:33:38  * kazuponjoined
02:33:43  * paulfryz_joined
02:35:37  * kazupon_joined
02:35:59  * kazuponquit (Read error: Connection reset by peer)
02:37:58  * paulfryz_quit (Ping timeout: 240 seconds)
02:40:08  * kazupon_quit (Ping timeout: 240 seconds)
02:42:03  <Dirkson>There we go. A bind failed.
03:08:58  * kpdeckerquit (Quit: Leaving.)
03:27:41  * mogillquit (Read error: Connection reset by peer)
03:28:01  * mogilljoined
03:28:15  * [1]porchratjoined
03:30:30  * porchratquit (Ping timeout: 255 seconds)
03:30:31  * [1]porchratchanged nick to porchrat
03:31:23  * thlorenzquit (Remote host closed the connection)
03:34:25  * paulfryz_joined
03:36:27  * kazuponjoined
03:38:38  * paulfryz_quit (Ping timeout: 240 seconds)
03:41:24  * kazuponquit (Ping timeout: 268 seconds)
03:43:11  * rmgjoined
03:43:54  * benviejoined
03:48:52  * wolfeidauquit (Remote host closed the connection)
03:49:10  * brsonjoined
03:49:26  * wolfeidaujoined
03:49:32  * wolfeidauquit (Remote host closed the connection)
03:53:07  * rmgquit (Ping timeout: 268 seconds)
04:11:37  * kevinsimperjoined
04:16:24  * kevinsimperquit (Ping timeout: 255 seconds)
04:19:59  * calvinfojoined
04:26:16  * TooTallNatejoined
04:29:34  * wolfeidaujoined
04:30:54  * wolfeidauquit (Remote host closed the connection)
04:31:32  * wolfeidaujoined
04:35:11  * paulfryz_joined
04:37:08  * kazuponjoined
04:37:38  <indutny>saghul: v0.11
04:39:18  * paulfryz_quit (Ping timeout: 240 seconds)
04:41:15  * calvinfoquit (Quit: Leaving.)
04:42:27  * kazuponquit (Ping timeout: 268 seconds)
04:57:54  * TooTallNatequit (Quit: Computer has gone to sleep.)
05:08:55  * TooTallNatejoined
05:10:39  * sh1mmerquit (Quit: sh1mmer)
05:36:07  * paulfryz_joined
05:37:55  * kazuponjoined
05:39:48  * kazuponquit (Read error: Connection reset by peer)
05:39:59  * kazuponjoined
05:40:18  * paulfryz_quit (Ping timeout: 240 seconds)
05:42:24  * dap_quit (Read error: Connection reset by peer)
05:42:43  * dap_joined
05:44:34  * kazuponquit (Ping timeout: 240 seconds)
05:52:39  * mogillquit (Quit: mogill)
06:03:08  * wolfeidauquit (Remote host closed the connection)
06:04:55  * AvianFluquit (Remote host closed the connection)
06:05:25  * AvianFlujoined
06:09:34  * AvianFluquit (Ping timeout: 240 seconds)
06:09:34  * brsonquit (Ping timeout: 240 seconds)
06:12:29  * kevinsimperjoined
06:16:49  * kevinsimperquit (Ping timeout: 240 seconds)
06:28:22  * brsonjoined
06:28:46  * m76joined
06:36:45  * paulfryz_joined
06:40:45  * kazuponjoined
06:40:58  * paulfryz_quit (Ping timeout: 240 seconds)
06:45:18  * kazuponquit (Ping timeout: 240 seconds)
07:27:07  * TooTallNatequit (Quit: Computer has gone to sleep.)
07:29:49  * paulfryzelquit (Remote host closed the connection)
07:31:09  * wolfeidaujoined
07:37:34  * paulfryzeljoined
07:41:32  * kazuponjoined
07:41:38  * paulfryzelquit (Ping timeout: 240 seconds)
07:45:54  * kazuponquit (Ping timeout: 240 seconds)
07:48:31  * stagasjoined
07:54:51  * summitsysjoined
07:59:19  <saghul>indutny: kewl
08:02:36  * summitsysquit (Remote host closed the connection)
08:07:02  * veshkyjoined
08:13:21  * kevinsimperjoined
08:13:32  * brsonquit (Quit: leaving)
08:18:17  * kevinsimperquit (Ping timeout: 268 seconds)
08:24:49  * veshkyquit (Ping timeout: 240 seconds)
08:38:17  * paulfryzeljoined
08:42:17  * kazuponjoined
08:42:58  * paulfryzelquit (Ping timeout: 240 seconds)
08:46:34  * kazuponquit (Ping timeout: 240 seconds)
08:53:09  * rendarjoined
08:55:04  * janjongboomjoined
09:14:20  * janjongboomquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:34:58  * petka_joined
09:39:40  * paulfryzeljoined
09:43:01  * kazuponjoined
09:43:38  * paulfryzelquit (Ping timeout: 240 seconds)
09:47:38  * kazuponquit (Ping timeout: 240 seconds)
09:49:34  * Kakerajoined
09:57:27  * kevinsimperjoined
10:05:58  * AndreasMadsenjoined
10:12:06  * kevinsimperquit
10:17:33  * AndreasMadsenquit (Remote host closed the connection)
10:27:46  * janjongboomjoined
10:32:43  * AndreasMadsenjoined
10:38:58  <roxlu>indutny: yt?
10:43:47  * kazuponjoined
10:48:14  * kazuponquit (Ping timeout: 240 seconds)
10:49:32  * hzjoined
11:30:25  * Damn3d_quit (Ping timeout: 240 seconds)
11:41:06  * paulfryzeljoined
11:44:33  * kazuponjoined
11:44:40  * m76quit (Read error: Connection reset by peer)
11:45:18  * paulfryzelquit (Ping timeout: 240 seconds)
11:49:54  * kazuponquit (Ping timeout: 240 seconds)
12:22:03  * saghulchanged nick to saghul-afk
12:24:09  * m76joined
12:32:31  * AndreasMadsenquit (Remote host closed the connection)
12:41:38  * benvie_joined
12:41:58  * paulfryzeljoined
12:44:36  * benviequit (Ping timeout: 240 seconds)
12:46:08  * paulfryzelquit (Ping timeout: 240 seconds)
12:47:01  * kazuponjoined
12:51:38  * kazuponquit (Ping timeout: 240 seconds)
12:54:20  * AndreasMadsenjoined
13:05:14  * AlexisMochaquit (Ping timeout: 240 seconds)
13:32:44  * euoiajoined
13:36:03  * kazuponjoined
13:38:29  * AvianFlujoined
13:42:41  * paulfryzeljoined
13:47:08  * paulfryzelquit (Ping timeout: 240 seconds)
13:53:58  * dap_1joined
13:56:18  * dap_quit (Ping timeout: 240 seconds)
14:01:09  * AndreasMadsenquit (Remote host closed the connection)
14:05:35  * thlorenzjoined
14:07:17  <indutny>yes
14:07:18  <indutny>hello guys
14:11:32  <roxlu>hey indutny!
14:13:38  <indutny>heya
14:14:34  <roxlu>I'm working on a simple https server to accept some data in my app
14:14:39  <roxlu>(and for learning ^.^)
14:16:02  <roxlu>You have a sec to help mb?
14:16:28  * AndreasMadsenjoined
14:19:43  <roxlu>It works fine when I send a request with Curl. With Chrome only the first request seems to work but FF doesn work at all :$
14:20:45  <roxlu>my curr code is here: https://gist.github.com/roxlu/f01f95eaa02e7276b4c4 (with a log of ssl for success and failure)
14:21:19  * m76quit (Read error: Connection reset by peer)
14:23:06  <indutny>roxlu: define "doesn't work at all"?
14:23:35  <indutny>"krx_ssl_info_callback: error occured."
14:23:35  <roxlu>indutny: when I connect with curl, I see this: https://gist.github.com/roxlu/f01f95eaa02e7276b4c4#file-curl_output-log-L1-L27
14:23:40  <indutny>gotcha
14:23:41  <indutny>sorry
14:23:50  <indutny>have you tried figuring out what error happens here krx_ssl_info_callback: error occured. ?
14:24:59  <roxlu>I've no return value there? how would I check the erorr?
14:25:20  * tjkrusinskijoined
14:25:32  <roxlu>ah!
14:25:45  <roxlu>ERR_print_errors_fp shows me something:
14:25:56  <roxlu>140735167816544:error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1251:SSL alert number 48
14:29:52  <roxlu>indutny: hmm it seems that when I disable verify_peer I'm not getting that error
14:30:15  <indutny>heh
14:30:35  <indutny>why do you need to verify peer?
14:30:51  * txdv_joined
14:30:54  <roxlu>to verify the browser, but I assume that's not necessary ?
14:31:01  <indutny>yes
14:31:13  <roxlu>ok, I'll remove the verify part then
14:31:14  * txdvquit (Ping timeout: 240 seconds)
14:31:24  <indutny>it is necessary only if you need client to provide it's own cert
14:32:09  <roxlu>when would that be? hmmm I might need that.. but maybe not for this
14:32:35  <indutny>yes, you might need this
14:32:40  <indutny>but not for regular https traffic
14:32:48  <indutny>it is a way to authenticate client
14:34:01  <roxlu>yeah I copied some code from a dtls server where I needed that cert
14:34:45  * txdv_quit (Client Quit)
14:35:02  * txdvjoined
14:35:44  <roxlu>indutny: I'm receiving some data from chrome now (also for multiple requests)
14:36:02  <roxlu>indutny: but maybe this is because I'm doing a https request from a http website?
14:36:03  * tjkrusinskiquit (Ping timeout: 255 seconds)
14:36:38  <indutny>I have no idea what you are talking about :D
14:37:07  <roxlu>hehe so I open my html page on http://localhost:7000 and from there I make a XHR request on https://localhost:70001
14:39:57  <roxlu>it's something with the way I check my bios
14:42:33  <indutny>hm...
14:42:40  <indutny>I guess this should be fine
14:43:21  * paulfryzeljoined
14:43:57  * tjkrusinskijoined
14:44:02  <roxlu>This made it work in Chrome: https://gist.github.com/roxlu/60e4d0d297680e463389
14:44:16  <roxlu>moving the krx_https_ssl_check_input_buffer() to line 35
14:45:11  <indutny>cool
14:45:34  <roxlu>but still not working in FF : (
14:46:05  <roxlu>nor Safari (which disconnects directly)
14:46:16  <roxlu>hmm could it be because my server certificate is self signed ?
14:47:38  * paulfryzelquit (Ping timeout: 240 seconds)
14:48:09  <roxlu>I think that was it
14:49:25  <roxlu>yep that was it
14:49:53  <roxlu>normally you get that popup when you access a https with self-signed ... but because I was doing a XHR request I didn't get this
14:52:14  * tjkrusinskiquit (Ping timeout: 252 seconds)
14:52:32  <indutny>рфрф
14:52:40  <indutny>ah, right
14:52:45  <roxlu>indutny: only calling BIO_free() results in a segfault ... any ideas why that might happen?
14:52:57  <indutny>are you calling it twice?
14:53:02  <roxlu>no
14:53:07  <indutny>is it a custom bio?
14:53:12  <roxlu>no a mem bio
14:53:18  <indutny>odd
14:53:23  <indutny>do you have a stack trace?
14:53:34  <roxlu>not yet
14:53:40  <indutny>btw, I'd suggest to use BIO_free_all
14:54:24  <roxlu>ok
14:54:54  <roxlu>I'm freeing my in_bio and out_bio. When I free both, freeing the in_bio works, but when I only free the in_bio it fails too (?)
14:57:20  <roxlu>I'm building a openssl debug build
14:57:28  <indutny>ok
14:58:29  * mogilljoined
15:01:28  <roxlu>does it matter if I call SSL_free() before the bio?
15:02:20  <indutny>hm...
15:02:40  <indutny>are you freeing bio that you gave it away to SSL ?
15:02:47  <indutny>with SSL_set_bio()
15:02:51  <roxlu>yes
15:03:20  <roxlu>shouldn't I free it then?
15:04:02  * tjkrusinskijoined
15:04:50  <roxlu>the documentation isn't really clear I think
15:07:12  <indutny>roxlu: I guess they will be freed by SSL_free()
15:07:25  <roxlu>yeah
15:07:41  <roxlu>hehe I'm going to assume that now too
15:08:03  <indutny>yes
15:08:05  <indutny>you should assume it
15:08:06  <indutny>:)
15:08:10  <roxlu>lol
15:08:12  * AndreasMadsenquit (Remote host closed the connection)
15:08:22  * AndreasMadsenjoined
15:08:36  <indutny>trevnorris: yt?
15:08:39  <indutny>hello
15:14:08  * tjkrusinskiquit (Ping timeout: 240 seconds)
15:23:38  <MI6>joyent/libuv: Ben Noordhuis master * f75bb7c : build: enable all compiler warnings - http://git.io/x3vzgg
15:26:06  * AndreasMadsenquit (Remote host closed the connection)
15:29:05  * AndreasMadsenjoined
15:30:09  <saghul-afk>indutny: the autoconf build generated a ton and a half of warning now
15:30:40  <saghul-afk>IMHO we should first look into them before landing Ben's patch
15:44:08  * paulfryzeljoined
15:48:38  * paulfryzelquit (Ping timeout: 240 seconds)
16:14:25  * kazuponquit (Read error: Connection reset by peer)
16:14:43  * kazuponjoined
16:27:33  * AndreasMadsenquit (Remote host closed the connection)
16:30:50  * paulfryzeljoined
16:39:10  * AlexisMochajoined
16:40:49  * Kakeraquit (Ping timeout: 240 seconds)
16:41:45  * benviejoined
16:45:48  * benvie_quit (Ping timeout: 268 seconds)
16:47:08  * AlexisMochaquit (Ping timeout: 240 seconds)
16:48:18  * euoiaquit (Ping timeout: 240 seconds)
16:49:45  * thlorenzquit (Remote host closed the connection)
16:50:18  * thlorenzjoined
16:54:39  * thlorenzquit (Ping timeout: 255 seconds)
17:09:22  * brunklejoined
17:11:46  * brunklequit (Client Quit)
17:14:22  * tjkrusinskijoined
17:17:15  * euoiajoined
17:27:16  * m76joined
17:27:40  * rmgjoined
17:30:55  <indutny>saghul-afk: hey man
17:31:05  <indutny>saghul-afk: there is certain point about it
17:31:19  <indutny>saghul-afk: which I truly hadn't considered before landing
17:31:55  <indutny>pushing revert
17:32:00  <MI6>joyent/libuv: Fedor Indutny master * 1d42b3c : Revert "build: enable all compiler warnings" - http://git.io/dGRnAQ
17:33:48  * Kakerajoined
17:47:27  * AndreasMadsenjoined
17:48:53  * AndreasMadsenquit (Remote host closed the connection)
17:49:48  * wildkidjoined
18:08:19  * TooTallNatejoined
18:13:27  * txdvquit (Quit: No Ping reply in 180 seconds.)
18:13:44  * txdvjoined
18:22:58  * TooTallNatequit (Quit: ["Textual IRC Client: www.textualapp.com"])
18:32:58  * euoiaquit (Ping timeout: 240 seconds)
18:37:42  * runcomjoined
18:43:21  * wildkidquit (Remote host closed the connection)
18:45:19  * kazuponquit (Remote host closed the connection)
18:46:32  * paulfryz_joined
18:47:15  * AndreasMadsenjoined
18:47:25  * seldojoined
18:47:37  <roxlu>indutny: do you maybe know a good ICE library?
18:50:38  * paulfryz_quit (Ping timeout: 240 seconds)
18:52:02  * AndreasMadsenquit (Ping timeout: 252 seconds)
18:52:08  * seldoquit (Ping timeout: 240 seconds)
19:02:01  <indutny>roxlu: nope
19:02:02  <indutny>sorry
19:02:16  <roxlu>np
19:05:24  * gmaggiorjoined
19:06:15  <gmaggior>Hi. What "uv" stands for in libuv?
19:09:33  * seldojoined
19:09:45  <gmaggior>play-on-words on libev? Or u = universal/unified ?
19:10:18  <indutny>lib you we
19:10:28  <indutny>gmaggior: actually
19:10:36  <indutny>there is no official meaning of it's name
19:11:43  <gmaggior>ok, thanks
19:12:14  <Kakera>liberal utopian void
19:16:02  * kazuponjoined
19:18:14  * AndreasMadsenjoined
19:20:38  * kazuponquit (Ping timeout: 240 seconds)
19:22:42  * AndreasMadsenquit (Ping timeout: 255 seconds)
19:22:48  <runcom>are there any examples about libuv + openssl?
19:24:16  * AndreasMadsenjoined
19:25:05  * AndreasMadsenquit (Client Quit)
19:27:19  <indutny>runcom: yes
19:27:28  <indutny>a bit selfie bu
19:27:28  <indutny>but
19:27:29  <indutny>http://github.com/indutny/bud
19:27:33  <indutny>runcom: ^
19:29:55  <indutny>tjfontaine: heya!
19:29:59  <indutny>you are finally back!
19:30:08  <runcom>cool what's a tls terminator btw :D
19:34:44  <indutny>hahah
19:34:59  <indutny>it receives ssl connection
19:35:02  <indutny>decrypts it
19:35:15  <indutny>and sends a plaintext to backend
19:36:23  * kazuponjoined
19:36:31  <runcom>seems like an ssl offloader to me :D
19:38:49  <indutny>sort of
19:41:09  * kazuponquit (Ping timeout: 255 seconds)
19:48:24  * euoiajoined
19:55:52  * gmaggiorquit (Quit: Leaving)
20:11:19  <tjfontaine>I am back
20:12:21  <tjfontaine>I need to move over to my desk
20:15:07  * seldoquit (Remote host closed the connection)
20:23:54  * tjkrusinskiquit (Ping timeout: 255 seconds)
20:36:58  * kazuponjoined
20:38:03  * brsonjoined
20:41:38  * kazuponquit (Ping timeout: 240 seconds)
21:01:18  * WalrusPony1joined
21:03:31  * WalrusPonyquit (Ping timeout: 245 seconds)
21:15:45  <saghul-afk>roxlu: libnice or pjnath may help you
21:31:12  * c4milojoined
21:37:43  * kazuponjoined
21:38:09  * runcomquit (Ping timeout: 255 seconds)
21:42:08  * kazuponquit (Ping timeout: 240 seconds)
21:48:58  * euoiaquit (Ping timeout: 240 seconds)
21:49:45  * euoiajoined
21:56:11  * petka_quit (Quit: Connection closed for inactivity)
22:10:22  * c4miloquit (Remote host closed the connection)
22:14:47  * brsonquit (Ping timeout: 252 seconds)
22:22:05  * c4milojoined
22:22:34  * thlorenzjoined
22:29:27  * c4miloquit (Ping timeout: 252 seconds)
22:38:24  * mikolalysenkojoined
22:38:33  * kazuponjoined
22:43:08  * kazuponquit (Ping timeout: 240 seconds)
23:01:30  * thlorenzquit (Remote host closed the connection)
23:05:38  * mikolalysenkoquit (Ping timeout: 240 seconds)
23:06:58  * euoiaquit (Ping timeout: 240 seconds)
23:27:18  * c4milojoined
23:32:11  * c4miloquit (Ping timeout: 268 seconds)
23:34:02  * Kakeraquit (Ping timeout: 268 seconds)
23:34:53  * hzquit
23:39:15  * kazuponjoined
23:41:01  * kazuponquit (Read error: Connection reset by peer)
23:41:04  * kazupon_joined
23:43:53  * mikolalysenkojoined
23:46:22  * kazupon_quit (Ping timeout: 268 seconds)
23:47:27  * rendarquit
23:55:38  * thlorenzjoined
23:58:05  * mikolalysenkoquit (Ping timeout: 268 seconds)