@@ -154,9 +154,9 @@ function complete_request(socket, msg)
154154end
155155
156156function kernel_info_request (socket, msg)
157- send_ipython (requests[] ,
157+ send_ipython (socket ,
158158 msg_reply (msg, " kernel_info_reply" ,
159- Dict (" protocol_version" => " 5.0 " ,
159+ Dict (" protocol_version" => " 5.4 " ,
160160 " implementation" => " ijulia" ,
161161 " implementation_version" => pkgversion (@__MODULE__ ),
162162 " language_info" =>
@@ -189,7 +189,7 @@ function connect_request(socket, msg)
189189end
190190
191191function shutdown_request (socket, msg)
192- send_ipython (requests[] , msg_reply (msg, " shutdown_reply" ,
192+ send_ipython (socket , msg_reply (msg, " shutdown_reply" ,
193193 msg. content))
194194 sleep (0.1 ) # short delay (like in ipykernel), to hopefully ensure shutdown_reply is sent
195195 exit ()
271271
272272function interrupt_request (socket, msg)
273273 @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 ()))
275275end
276276
277277function unknown_request (socket, msg)
0 commit comments