mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: various fixes for [heap]/auto-heap handling (#10033)
This commit is contained in:
@ -37,7 +37,7 @@ pub struct SSEMessage {
|
||||
|
||||
pub fn new_connection(conn &net.TcpConn) &SSEConnection {
|
||||
return &SSEConnection{
|
||||
conn: conn
|
||||
conn: unsafe { conn }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -329,7 +329,7 @@ fn handle_conn<T>(mut conn net.TcpConn, mut app T) {
|
||||
}
|
||||
app.Context = Context{
|
||||
req: req
|
||||
conn: conn
|
||||
conn: unsafe { conn }
|
||||
form: map[string]string{}
|
||||
static_files: app.static_files
|
||||
static_mime_types: app.static_mime_types
|
||||
|
Reference in New Issue
Block a user