View Issue Details

Category
SSPBT:本体(SSP)
SeverityfeatureReproducibilityalways 
Status closed 
Fixed in Version2.5 (リリース) 
Summary0000170: Can't get X-SSTP-Returns when Value empty
Description

i writed a sample for X-SSTP-Returns : https://github.com/steve02081504/ghost_terminal
but there was an error when non Value return:
// request
GET SHIORI/3.0
Charset: UTF-8
Sender: void
SecurityLevel: local
ID: On_ShioriEcho.GetName

// response (Execution time : 0[ms])
SHIORI/3.0 200 OK
Sender: AYA
Charset: UTF-8
Value:
X-SSTP-Return-GhostName: Taromati2
X-SSTP-Return-UserName: steve

exe get this from SSTP:
SSTP/1.1 204 No Content

Activities

guest

2021-06-07 19:23

reporter   ~0000382

I just found that it could be just SSTP_Linker's problem...
Or SSTP_Linker has problems too.
I may need to look at the code again

guest

2021-06-07 23:05

reporter   ~0000383

I put most of the SSTP_linker code problem fixed
It is true that there is no X-SSTP-Returns can get when Value empty

And also, I think there may be some problems in the code conversion when sending the SSTP message from SSP.
I checked the SSTP_linker's code conversion of SSTP message that should has no problom, but my program can't send and receive non half width characters correctly.

One last thing. After every communication with SSP, SSTP_linker has to disconnect and relink the Socket (otherwise, the next communication cannot be carried out). Is this intentional? Or is it just that my program is not well written?

ponapalt

2021-06-08 04:54

administrator   ~0000384

I'll check and fix it.
SSTP server can't process "keep-alive" style connection like HTTP, because of compatibility problem.
I think it's not critical limitation because TCP/IP connection cost via loopback interface is trivial, but if you want more efficient method, please consider DirectSSTP (WM_COPYDATA to window).

ponapalt

2021-06-08 09:48

administrator   ~0000385

2.5.04 FIXED

Issue History

Date Modified Username Field Change
2021-06-07 18:51 guest New Issue
2021-06-07 19:23 guest Note Added: 0000382
2021-06-07 23:05 guest Note Added: 0000383
2021-06-08 04:54 ponapalt Note Added: 0000384
2021-06-08 09:48 ponapalt Assigned To => ponapalt
2021-06-08 09:48 ponapalt Status new => closed
2021-06-08 09:48 ponapalt Resolution open => fixed
2021-06-08 09:48 ponapalt Fixed in Version => 2.5 (リリース)
2021-06-08 09:48 ponapalt Note Added: 0000385