@@ -154,9 +154,9 @@ function complete_request(socket, msg)
154
154
end
155
155
156
156
function kernel_info_request (socket, msg)
157
- send_ipython (requests[] ,
157
+ send_ipython (socket ,
158
158
msg_reply (msg, " kernel_info_reply" ,
159
- Dict (" protocol_version" => " 5.0 " ,
159
+ Dict (" protocol_version" => " 5.4 " ,
160
160
" implementation" => " ijulia" ,
161
161
" implementation_version" => pkgversion (@__MODULE__ ),
162
162
" language_info" =>
@@ -189,7 +189,7 @@ function connect_request(socket, msg)
189
189
end
190
190
191
191
function shutdown_request (socket, msg)
192
- send_ipython (requests[] , msg_reply (msg, " shutdown_reply" ,
192
+ send_ipython (socket , msg_reply (msg, " shutdown_reply" ,
193
193
msg. content))
194
194
sleep (0.1 ) # short delay (like in ipykernel), to hopefully ensure shutdown_reply is sent
195
195
exit ()
271
271
272
272
function interrupt_request (socket, msg)
273
273
@async Base. throwto (requests_task[], InterruptException ())
274
- send_ipython (requests[] , msg_reply (msg, " interrupt_reply" , Dict ()))
274
+ send_ipython (socket , msg_reply (msg, " interrupt_reply" , Dict ()))
275
275
end
276
276
277
277
function unknown_request (socket, msg)
0 commit comments