AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Extensions (https://forums.alliedmods.net/forumdisplay.php?f=134)
-   -   [EXTENSION] Socket (3.0.1) (https://forums.alliedmods.net/showthread.php?t=67640)

ThatOneGuy 04-11-2021 22:52

Re: [EXTENSION] Socket (3.0.1)
 
2 Attachment(s)
I cant figure out why I keep getting a 301 error returned from my GET. All I'm wanting to do is run a PHP script that I pass a few parameters to.

I've tried:
  • Adjusting paths/URLs various ways
  • Using HTTP/1.1 vs HTTP/1.0
  • Removing the connection: close
    Various other edits

My source code (password removed) and the output are attached.

Is this related to that I have .htaccess redirect with 301 any http addresses to https? I tried it with that removed and didnt see a difference.

Any ideas on what else could cause this?

EDIT: I switched to using SteamWorks instead and that worked fine. Guess I'm done with socket extension...

canadianjeff 05-14-2021 04:22

Re: [EXTENSION] Socket (3.0.1)
 
git link in the OP is 404'ing

# curl -I "http://player.to/gitweb/index.cgi?p=sm-ext-socket.git"
HTTP/1.1 404 Not Found
Server: nginx
Date: Fri, 14 May 2021 08:23:08 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive

canadianjeff 05-14-2021 05:56

Re: [EXTENSION] Socket (3.0.1)
 
Socket.inc is actually using old and depricated code

U:\programs\windows\SPCode.Portable\sourcepaw n\configs\sm_1_10_0_6478\include\socket.inc(2 03) : fatal error 196: deprecated syntax; see https://wiki.alliedmods.net/SourcePa...yntax#Typedefs


gonna test this version https://raw.githubusercontent.com/Jo...ude/socket.inc

canadianjeff 11-08-2021 10:13

Re: [EXTENSION] Socket (3.0.1)
 
is it possible to wrap an TLS/SSL connection with this extension on port 443??? HTTPS

hundunzhidian 03-23-2023 22:15

Re: [EXTENSION] Socket (3.0.1)
 
how to set socket connect timeout?
i have seem SocketOption.there isn't have some options like connecttimeout

matix 03-26-2023 16:33

Re: [EXTENSION] Socket (3.0.1)
 
Has anyone been able to compile this for ARM64 before? if not, does anybody knows what steps should I follow to make the AMBuildScript compatible with this architecture?

Howardtw1984 06-19-2023 07:48

Re: [EXTENSION] Socket (3.0.1)
 
Not sure if this is still alive or if anyone is doing anything with the coding on it... the post is so old?? if anyone is still working on this could they tell me if it would be possible to work on a paid dedicated server...?? thanks Can be reached on disco howard3335

delidolu1genc 09-13-2023 13:06

Re: [EXTENSION] Socket (3.0.1)
 
thanks


All times are GMT -4. The time now is 13:12.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.