Skip to content

first/last return value hangs IPC reply #285

Description

@demyan

A function returning (first vec) / (last vec) over IPC never replies — the client blocks forever.

Server:

$ rayforce -p 6630
listening on port 6630
 ...
‣ (set f1 (fn [] (first [10 20 30])))
lambda
‣ (set f2 (fn [] (last [10 20 30])))

Client:

$ rayforce 
 ...
‣ (set h (.ipc.open "127.0.0.1:6630"))
1
‣ (println "%" (.ipc.send h (+ 1 2 )))
3
‣ (println "%" (.ipc.send h (list 'f1)))
<--- hangs
...
‣ (println "%" (.ipc.send h (list 'f2)))
<--- hangs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions